Skip to content

Commit b1334b8

Browse files
authored
Merge pull request docker#10768 from cloud-native-team/v2
fix some comments
2 parents 827e864 + 25ca75d commit b1334b8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pkg/api/proxy.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ func (s *ServiceProxy) List(ctx context.Context, options ListOptions) ([]Stack,
217217
return s.ListFn(ctx, options)
218218
}
219219

220-
// Convert implements Service interface
220+
// Config implements Service interface
221221
func (s *ServiceProxy) Config(ctx context.Context, project *types.Project, options ConfigOptions) ([]byte, error) {
222222
if s.ConfigFn == nil {
223223
return nil, ErrNotImplemented

pkg/utils/slices.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ func Contains[T any](origin []T, element T) bool {
2929
return false
3030
}
3131

32-
// RemoveAll removes all elements from origin slice
32+
// Remove removes all elements from origin slice
3333
func Remove[T any](origin []T, elements ...T) []T {
3434
var filtered []T
3535
for _, v := range origin {

0 commit comments

Comments
 (0)