(scope string)
| 279 | } |
| 280 | |
| 281 | func selectedScopes(scope string) []registry.Scope { |
| 282 | if scope != "" { |
| 283 | return []registry.Scope{registry.Scope(scope)} |
| 284 | } |
| 285 | return []registry.Scope{registry.ScopeProject, registry.ScopeUser} |
| 286 | } |
| 287 | |
| 288 | func appendAgentHostID(agentHostIDs []string, agentHostID string) []string { |
| 289 | for _, existing := range agentHostIDs { |
no test coverage detected