Strip whitespace

This commit is contained in:
Luke Murphy 2020-11-08 16:34:21 +01:00
parent fd735a1310
commit 28b2d8ecc7
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

2
abra
View File

@ -459,7 +459,7 @@ sub_app_list (){
SERVER="${SERVER##*/}" # basename
mapfile -t SERVER_APPS < <(DOCKER_CONTEXT="$SERVER" docker stack ls --format '{{ .Name }}')
# add $SERVER~ to the start of each DEPLOYED_APPS
DEPLOYED_APPS+=("${SERVER_APPS[@]/#/$SERVER~}")
DEPLOYED_APPS+=("${SERVER_APPS[@]/#/$SERVER~}")
done
fi