Skip to content

Commit

Permalink
Merge pull request #10768 from cloud-native-team/v2
Browse files Browse the repository at this point in the history
fix some comments
  • Loading branch information
glours committed Jul 6, 2023
2 parents 827e864 + 25ca75d commit b1334b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/api/proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ func (s *ServiceProxy) List(ctx context.Context, options ListOptions) ([]Stack,
return s.ListFn(ctx, options)
}

// Convert implements Service interface
// Config implements Service interface
func (s *ServiceProxy) Config(ctx context.Context, project *types.Project, options ConfigOptions) ([]byte, error) {
if s.ConfigFn == nil {
return nil, ErrNotImplemented
Expand Down
2 changes: 1 addition & 1 deletion pkg/utils/slices.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func Contains[T any](origin []T, element T) bool {
return false
}

// RemoveAll removes all elements from origin slice
// Remove removes all elements from origin slice
func Remove[T any](origin []T, elements ...T) []T {
var filtered []T
for _, v := range origin {
Expand Down

0 comments on commit b1334b8

Please sign in to comment.