Skip to content

Commit

Permalink
fix: Lock handling fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dploeger committed Aug 5, 2022
1 parent ea8ec7f commit 18c6869
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion container/backup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function delete_lock() {
then
if [[ "${LOCK_INFO}" == "" ]]
then
LOCK_INFO=$(az lock show --ids "${RESOURCE_GROUP_LOCK_ID}")
LOCK_INFO=$(az lock show --ids "${RESOURCE_GROUP_LOCK_ID} -o tsv")
fi
LOCK_NAME=$(echo "$LOCK_INFO" | cut -f 3)
LOCK_RESOURCE_GROUP=$(echo "$LOCK_INFO" | cut -f 6)
Expand Down

0 comments on commit 18c6869

Please sign in to comment.