mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-13 02:33:34 +00:00
rebase: update kubernetes to latest
updating the kubernetes release to the latest in main go.mod Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
committed by
mergify[bot]
parent
63c4c05b35
commit
5a66991bb3
12
vendor/k8s.io/client-go/discovery/fake/discovery.go
generated
vendored
12
vendor/k8s.io/client-go/discovery/fake/discovery.go
generated
vendored
@ -47,7 +47,9 @@ func (c *FakeDiscovery) ServerResourcesForGroupVersion(groupVersion string) (*me
|
||||
Verb: "get",
|
||||
Resource: schema.GroupVersionResource{Resource: "resource"},
|
||||
}
|
||||
c.Invokes(action, nil)
|
||||
if _, err := c.Invokes(action, nil); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
for _, resourceList := range c.Resources {
|
||||
if resourceList.GroupVersion == groupVersion {
|
||||
return resourceList, nil
|
||||
@ -77,7 +79,9 @@ func (c *FakeDiscovery) ServerGroupsAndResources() ([]*metav1.APIGroup, []*metav
|
||||
Verb: "get",
|
||||
Resource: schema.GroupVersionResource{Resource: "resource"},
|
||||
}
|
||||
c.Invokes(action, nil)
|
||||
if _, err = c.Invokes(action, nil); err != nil {
|
||||
return resultGroups, c.Resources, err
|
||||
}
|
||||
return resultGroups, c.Resources, nil
|
||||
}
|
||||
|
||||
@ -100,7 +104,9 @@ func (c *FakeDiscovery) ServerGroups() (*metav1.APIGroupList, error) {
|
||||
Verb: "get",
|
||||
Resource: schema.GroupVersionResource{Resource: "group"},
|
||||
}
|
||||
c.Invokes(action, nil)
|
||||
if _, err := c.Invokes(action, nil); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
groups := map[string]*metav1.APIGroup{}
|
||||
|
||||
|
Reference in New Issue
Block a user