Skip to content

Commit 54a525b

Browse files
kooogendeloof
authored andcommitted
Ignore missing containers when compose stop -p
Signed-off-by: koooge <[email protected]>
1 parent 8ceaf49 commit 54a525b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/compose/stop.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ func (s *composeService) stop(ctx context.Context, projectName string, options a
5050
}
5151

5252
w := progress.ContextWriter(ctx)
53-
return InReverseDependencyOrder(ctx, project, false, func(c context.Context, service string) error {
53+
return InReverseDependencyOrder(ctx, project, true, func(c context.Context, service string) error {
5454
if !utils.StringContains(options.Services, service) {
5555
return nil
5656
}

0 commit comments

Comments
 (0)