Browse Source

Silence warning about empty GroupVersion

Alfonso Acosta 5 months ago
parent
commit
e071066f1a
1 changed files with 0 additions and 2 deletions
  1. 0
    2
      cluster/kubernetes/sync.go

+ 0
- 2
cluster/kubernetes/sync.go View File

@@ -211,8 +211,6 @@ func (c *Cluster) getAllowedResourcesBySelector(selector string) (map[string]*ku
211 211
 				return nil, err
212 212
 			}
213 213
 		}
214
-		c.logger.Log("warn", err,
215
-			"impact", "ignoring error, please check your cluster configuration, GroupVersions should not be empty")
216 214
 	}
217 215
 
218 216
 	result := map[string]*kuberesource{}

Loading…
Cancel
Save