Only throw away error but keep stdout
This commit is contained in:
parent
0bbff91722
commit
5931cbd791
2
abra
2
abra
@ -904,7 +904,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" > /dev/null 2>&1)
|
||||
-f "{{index .Spec.Labels \"coop-cloud.${STACK_NAME}.version\" }}" "${STACK_NAME}_app" 2>/dev/null)
|
||||
deployed_version=$(echo "$deployed_version_digest" | cut -d- -f1)
|
||||
deployed_digest=$(echo "$deployed_version_digest" | cut -d- -f2)
|
||||
|
||||
|
Reference in New Issue
Block a user