From 544c4e86baa127b6682bcdfa03bb7889cae68c40 Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Wed, 3 Mar 2021 16:56:47 +0100 Subject: [PATCH] Capture output for version checking Closes https://git.autonomic.zone/coop-cloud/abra/issues/85. --- abra | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/abra b/abra index 4c76ffb..3ff4e86 100755 --- a/abra +++ b/abra @@ -883,7 +883,7 @@ sub_app_deploy (){ CONSENT_TO_UPDATE=$abra___update deployed_version_digest=$(docker service inspect \ - -f "{{index .Spec.Labels \"coop-cloud.${STACK_NAME}.version\" }}" "${STACK_NAME}_app") + -f "{{index .Spec.Labels \"coop-cloud.${STACK_NAME}.version\" }}" "${STACK_NAME}_app" > /dev/null 2>&1) deployed_version=$(echo "$deployed_version_digest" | cut -d- -f1) deployed_digest=$(echo "$deployed_version_digest" | cut -d- -f2)