mirror of
https://github.com/offen/docker-volume-backup.git
synced 2024-11-22 05:10:28 +01:00
fix distinct service names ending up in joint service token
This commit is contained in:
parent
a8f013e16a
commit
dda71c3a5d
@ -71,7 +71,7 @@ if [ "$CONTAINERS_TO_STOP_TOTAL" != "0" ]; then
|
|||||||
done
|
done
|
||||||
|
|
||||||
if [ -n "$SERVICES_REQUIRING_UPDATE" ]; then
|
if [ -n "$SERVICES_REQUIRING_UPDATE" ]; then
|
||||||
for SERVICE_NAME in "$(echo -n "$SERVICES_REQUIRING_UPDATE" | tr ' ' '\n' | sort -u)"; do
|
for SERVICE_NAME in $(echo -n "$SERVICES_REQUIRING_UPDATE" | tr ' ' '\n' | sort -u); do
|
||||||
docker service update --force $SERVICE_NAME
|
docker service update --force $SERVICE_NAME
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user