(node *api.Node, storage *api.Storage)
| 621 | } |
| 622 | |
| 623 | func selectionKey(node *api.Node, storage *api.Storage) string { |
| 624 | if node == nil { |
| 625 | return "" |
| 626 | } |
| 627 | key := node.Name + "|" + node.SourceProfile |
| 628 | if storage != nil { |
| 629 | key += "|" + storage.Name |
| 630 | } |
| 631 | return key |
| 632 | } |
| 633 | |
| 634 | func sortedKeys(values map[string]struct{}) []string { |
| 635 | if len(values) == 0 { |
no outgoing calls
no test coverage detected