Restore the configured state added for podman

Reverted 22aa1aff22 by accident
pull/7631/head
Anders F Björklund 2020-04-27 22:27:30 +02:00
parent bf4aa78ca6
commit 1744ffe773
1 changed files with 2 additions and 0 deletions

View File

@ -470,6 +470,8 @@ func ContainerStatus(prefix string, ociBin string, name string, warnSlow ...bool
rr, err := runCmd(cmd, warnSlow...)
o := strings.TrimSpace(rr.Stdout.String())
switch o {
case "configured":
return state.Stopped, nil
case "running":
return state.Running, nil
case "exited":