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