We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9358d74 commit 6dfd03fCopy full SHA for 6dfd03f
1 file changed
internal/pkg/cluster/cluster.go
@@ -68,7 +68,7 @@ func (c *Info) fetchAvailableAPIs(ctx context.Context, client *discovery.Discove
68
for apiName := range c.apisMap {
69
if hasAPI(apiName, resources) {
70
c.apisMap[apiName] = true
71
- } else {
+ } else if discErr != nil {
72
// Check if the wanted API is in error
73
for gv, err := range discErr.Groups {
74
if strings.Contains(apiName, gv.String()) {
0 commit comments