Skip to content

Commit

Permalink
don't ignore error
Browse files Browse the repository at this point in the history
Signed-off-by: Nicolas De Loof <[email protected]>
  • Loading branch information
ndeloof committed Apr 12, 2022
1 parent 625a48d commit 672e236
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkg/compose/down.go
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,10 @@ func (s *composeService) removeContainers(ctx context.Context, w progress.Writer

func (s *composeService) getProjectWithResources(ctx context.Context, containers Containers, projectName string) (*types.Project, error) {
containers = containers.filter(isNotOneOff)
project, _ := s.projectFromName(containers, projectName)
project, err := s.projectFromName(containers, projectName)
if err != nil {
return nil, err
}

volumes, err := s.actualVolumes(ctx, projectName)
if err != nil {
Expand Down

0 comments on commit 672e236

Please sign in to comment.