mirror of https://github.com/k3s-io/k3s
fix the delete result being used
parent
e3a4104479
commit
cb09607536
|
@ -273,7 +273,7 @@ func (o *DeleteOptions) DeleteResult(r *resource.Result) error {
|
|||
effectiveTimeout = 168 * time.Hour
|
||||
}
|
||||
waitOptions := kubectlwait.WaitOptions{
|
||||
ResourceFinder: genericclioptions.ResourceFinderForResult(o.Result),
|
||||
ResourceFinder: genericclioptions.ResourceFinderForResult(r),
|
||||
DynamicClient: o.DynamicClient,
|
||||
Timeout: effectiveTimeout,
|
||||
|
||||
|
|
Loading…
Reference in New Issue