(profile *taskpkg.ExecutionProfile)
| 638 | } |
| 639 | |
| 640 | func profileRequiredWorkerCapabilities(profile *taskpkg.ExecutionProfile) []string { |
| 641 | if profile == nil { |
| 642 | return nil |
| 643 | } |
| 644 | return append([]string(nil), profile.Worker.RequiredCapabilities...) |
| 645 | } |
| 646 | |
| 647 | func uniqueNonEmptyStrings(values []string) []string { |
| 648 | seen := make(map[string]struct{}, len(values)) |
no test coverage detected