mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-14 06:15:45 +00:00
update related files due to api change
This commit is contained in:
parent
6b24fe2215
commit
884a4b1fa1
@ -466,7 +466,7 @@ func (p *pruner) prune(namespace string, mapping *meta.RESTMapping, shortOutput
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
objList, err := resource.NewHelper(c, mapping).List(namespace, mapping.GroupVersionKind.Version, p.selector, false)
|
objList, err := resource.NewHelper(c, mapping).List(namespace, mapping.GroupVersionKind.Version, p.selector, false, false)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user