Skip to content

Commit

Permalink
fix: other flags may not be combined with --rollback
Browse files Browse the repository at this point in the history
  • Loading branch information
AliRezaBeitari committed Nov 25, 2023
1 parent 8169801 commit ea606e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shepherd
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ update_services() {
if [[ "${ROLLBACK_ON_FAILURE+x}" ]]; then
logger "Rolling $name back"
# shellcheck disable=SC2086
docker "${config_flag[@]}" service update "$name" $detach_option $registry_auth $no_resolve_image_flag ${ROLLBACK_OPTIONS} --rollback > /dev/null
docker "${config_flag[@]}" service update "$name" $detach_option ${ROLLBACK_OPTIONS} --rollback > /dev/null
fi
if [[ "$apprise_sidecar_url" != "" ]]; then
title="[Shepherd] Service $name update failed on $hostname"
Expand Down

0 comments on commit ea606e0

Please sign in to comment.