mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 17:30:00 +00:00
fix the delete result being used
This commit is contained in:
parent
e3a4104479
commit
cb09607536
@ -273,7 +273,7 @@ func (o *DeleteOptions) DeleteResult(r *resource.Result) error {
|
|||||||
effectiveTimeout = 168 * time.Hour
|
effectiveTimeout = 168 * time.Hour
|
||||||
}
|
}
|
||||||
waitOptions := kubectlwait.WaitOptions{
|
waitOptions := kubectlwait.WaitOptions{
|
||||||
ResourceFinder: genericclioptions.ResourceFinderForResult(o.Result),
|
ResourceFinder: genericclioptions.ResourceFinderForResult(r),
|
||||||
DynamicClient: o.DynamicClient,
|
DynamicClient: o.DynamicClient,
|
||||||
Timeout: effectiveTimeout,
|
Timeout: effectiveTimeout,
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user