Add state debug for deployment checking

This commit is contained in:
decentral1se 2021-04-18 00:12:11 +02:00
parent 037e08a41a
commit 41573c3260
Signed by untrusted user who does not match committer: decentral1se
GPG Key ID: 92DAD76BD9567B8A

2
abra
View File

@ -762,6 +762,8 @@ ensure_stack_deployed() {
# see: https://github.com/moby/moby/issues/28012
service_state=$(docker service inspect --format "{{if .UpdateStatus}}{{.UpdateStatus.State}}{{else}}created{{end}}" "$service_id")
debug "$service_id has state: $service_state"
case "$service_state" in
created|completed)
;;