Merge pull request #10768 from cloud-native-team/v2

fix some comments
This commit is contained in:
Guillaume Lours 2023-07-06 10:06:05 +02:00 committed by GitHub
commit b1334b8dfc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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 {