Skip to content

Commit

Permalink
Merge pull request #121 from AliRezaBeitari/fix/rollback-with-other-f…
Browse files Browse the repository at this point in the history
…lags
  • Loading branch information
moschlar committed Nov 30, 2023
2 parents 8169801 + ea606e0 commit e74ea80
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 e74ea80

Please sign in to comment.