aboutsummaryrefslogtreecommitdiff
path: root/pkg/domain/entities/container_ps.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/domain/entities/container_ps.go')
-rw-r--r--pkg/domain/entities/container_ps.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/domain/entities/container_ps.go b/pkg/domain/entities/container_ps.go
index 8a8666ff9..f07b0364f 100644
--- a/pkg/domain/entities/container_ps.go
+++ b/pkg/domain/entities/container_ps.go
@@ -68,7 +68,7 @@ func (l ListContainer) State() string {
state = "Up " + t + " ago"
case "configured":
state = "Created"
- case "exited":
+ case "exited", "stopped":
t := units.HumanDuration(time.Since(time.Unix(l.ExitedAt, 0)))
state = fmt.Sprintf("Exited (%d) %s ago", l.ExitCode, t)
default: