This commit is contained in:
Yvan
2026-08-18 15:04:07 +08:00
parent 10ccc005be
commit 1ef8ecb7b2
42 changed files with 3027 additions and 296 deletions
+1 -1
View File
@@ -65,7 +65,7 @@ func (s *APIService) Groups(ctx context.Context) ([]string, map[string]string, e
return nil, nil, err
}
seen := make(map[string]bool)
var groups []string
groups := make([]string, 0)
groupAPIMap := make(map[string]string)
for _, item := range items {
if !seen[item.APIGroup] {