Skip to content

Commit

Permalink
Merge pull request #8789 from Mygao/chore/fix-typo
Browse files Browse the repository at this point in the history
Fix typo: netwok -> network
  • Loading branch information
Ulysses Souza authored Nov 2, 2021
2 parents 06c5d8a + 3260dcb commit f10c96a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/compose/down.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ func (s *composeService) down(ctx context.Context, projectName string, options a
}
}

ops, err := s.ensureNetwoksDown(ctx, projectName)
ops, err := s.ensureNetworksDown(ctx, projectName)
if err != nil {
return err
}
Expand Down Expand Up @@ -129,7 +129,7 @@ func (s *composeService) ensureImagesDown(ctx context.Context, projectName strin
return ops
}

func (s *composeService) ensureNetwoksDown(ctx context.Context, projectName string) ([]downOp, error) {
func (s *composeService) ensureNetworksDown(ctx context.Context, projectName string) ([]downOp, error) {
var ops []downOp
networks, err := s.apiClient.NetworkList(ctx, moby.NetworkListOptions{Filters: filters.NewArgs(projectFilter(projectName))})
if err != nil {
Expand Down

0 comments on commit f10c96a

Please sign in to comment.