(services []swarm.Service)
| 97 | } |
| 98 | |
| 99 | func sortServiceByName(services []swarm.Service) func(i, j int) bool { |
| 100 | return func(i, j int) bool { |
| 101 | return services[i].Spec.Name < services[j].Spec.Name |
| 102 | } |
| 103 | } |
| 104 | |
| 105 | func removeServices(ctx context.Context, dockerCLI command.Cli, services []swarm.Service) bool { |
| 106 | var hasError bool |
no outgoing calls
no test coverage detected
searching dependent graphs…