Add state debug for deployment checking
This commit is contained in:
parent
037e08a41a
commit
41573c3260
2
abra
2
abra
@ -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)
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user