Merge "HA: ensure TRIPLEO_MINOR_UPDATE is defined for <svc>_restart_bundle"

This commit is contained in:
Zuul 2019-10-25 04:22:55 +00:00 committed by Gerrit Code Review
commit 469b977e23

View File

@ -5,6 +5,7 @@ set -u
# ./pacemaker_restart_bundle.sh galera-bundle galera
RESOURCE=$1
TRIPLEO_SERVICE=$2
: ${TRIPLEO_MINOR_UPDATE=false}
# try to restart only if resource has been created already
if /usr/sbin/pcs resource show $RESOURCE; then