Strip whitespace
This commit is contained in:
parent
fd735a1310
commit
28b2d8ecc7
2
abra
2
abra
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user