mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
Merge pull request #64444 from deads2k/cli-71-delete-change
Automatic merge from submit-queue (batch tested with PRs 63328, 64316, 64444, 64449, 64453). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. fix the delete result being used fixes https://github.com/kubernetes/kubernetes/issues/64401 @nilebox pretty sure this will fix you. Do you have an easy test to add to test-cmd? @kubernetes/sig-cli-bugs /kind bug /assign @nilebox /assign @soltysh ```release-note NONE ```
This commit is contained in:
commit
1e0973db3f
@ -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
Block a user