mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 03:41:45 +00:00
Merge pull request #66594 from Lion-Wei/patch-3
Automatic merge from submit-queue. 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 ttlcontroller integration test fatal log err **What this PR does / why we need it**: Log err in delete node. **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Fixes # **Special notes for your reviewer**: **Release note**: ```release-note NONE ```
This commit is contained in:
commit
cefca66b1f
@ -75,7 +75,7 @@ func deleteNodes(t *testing.T, client *clientset.Clientset, startIndex, endIndex
|
||||
defer wg.Done()
|
||||
name := fmt.Sprintf("node-%d", idx)
|
||||
if err := client.Core().Nodes().Delete(name, &metav1.DeleteOptions{}); err != nil {
|
||||
t.Fatalf("Failed to create node: %v", err)
|
||||
t.Fatalf("Failed to delete node: %v", err)
|
||||
}
|
||||
}(i)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user