mirror of
https://github.com/kubernetes/client-go.git
synced 2025-12-25 06:02:30 +00:00
Find current resourceVersion for waiting for deletion/conditions
Kubernetes-commit: d3299c036b091c7b0fb4453c574a25fa5d7d43df
This commit is contained in:
committed by
Kubernetes Publisher
parent
832c4d8903
commit
76bdf5a9dd
@@ -303,6 +303,7 @@ func (c *dynamicResourceClient) List(opts metav1.ListOptions) (*unstructured.Uns
|
||||
}
|
||||
|
||||
list := &unstructured.UnstructuredList{}
|
||||
list.SetResourceVersion(entireList.GetResourceVersion())
|
||||
for i := range entireList.Items {
|
||||
item := &entireList.Items[i]
|
||||
metadata, err := meta.Accessor(item)
|
||||
|
||||
Reference in New Issue
Block a user