mirror of https://github.com/docker/compose.git
commit
b1334b8dfc
|
@ -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
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue