fix ks-apiserver missing interfaces

Signed-off-by: Roland.Ma <rolandma@yunify.com>
This commit is contained in:
Roland.Ma
2021-08-12 03:39:37 +00:00
parent 2fcfb81066
commit 3bfae73318
7 changed files with 42 additions and 32 deletions

View File

@@ -74,7 +74,7 @@ func (c *clientCache) newResource(gvk schema.GroupVersionKind, isList bool) (*Re
gvk.Kind = gvk.Kind[:len(gvk.Kind)-4]
}
client, err := apiutil.RESTClientForGVK(gvk, c.config, c.codecs)
client, err := apiutil.RESTClientForGVK(gvk, false, c.config, c.codecs)
if err != nil {
return nil, err
}