Skip to content

Commit

Permalink
stopped and exited are valid
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkowl committed Jun 13, 2023
1 parent e76d4b9 commit e62087b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/containerinstall/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ func (m *manager) containerFinished(context.Context) (bool, error) {
return false, err
}

if inspectData.State.Status == "exited" {
if inspectData.State.Status == "exited" || inspectData.State.Status == "stopped" {
if inspectData.State.ExitCode != 0 {
getContainerLogs(m.conn, m.log, containerName)
return true, fmt.Errorf("container exited with %d", inspectData.State.ExitCode)
Expand Down

0 comments on commit e62087b

Please sign in to comment.