Skip to content

Commit 99354fd

Browse files
giulio93lucarin91
andcommitted
Apply suggestion from @lucarin91
Co-authored-by: Luca Rinaldi <l.rinaldi@arduino.cc>
1 parent 4105b65 commit 99354fd

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

internal/orchestrator/helpers.go

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,12 @@ type AppStatusInfo struct {
4444
// For app that have at least 1 dependency, we calculate the overall state
4545
// as follow:
4646
//
47-
// running: all running
48-
// stopped: all stopped
49-
// failed: at least one failed
50-
// stopped: at least one stopped
51-
// starting: at least one starting
47+
// running: all running
48+
// stopped: all stopped
49+
// failed: at least one failed
50+
// stopping: at least one stopping
51+
// stopped: at least one stopped
52+
// starting: at least one starting
5253
func parseAppStatus(containers []container.Summary) []AppStatusInfo {
5354
apps := make([]AppStatusInfo, 0, len(containers))
5455
appsStatusMap := make(map[string][]Status)

0 commit comments

Comments
 (0)