diff --git a/pkg/api/proxy.go b/pkg/api/proxy.go index aeb773c30..4547cb266 100644 --- a/pkg/api/proxy.go +++ b/pkg/api/proxy.go @@ -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 diff --git a/pkg/utils/slices.go b/pkg/utils/slices.go index 4459cbd59..6dbf1c6e7 100644 --- a/pkg/utils/slices.go +++ b/pkg/utils/slices.go @@ -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 {