resolve PR comment ( add nil check )
This commit is contained in:
@@ -74,9 +74,11 @@ func createNodes(t *testing.T, client *clientset.Clientset, startIndex, endIndex
|
||||
}()
|
||||
|
||||
for err := range errs {
|
||||
if err != nil {
|
||||
t.Fatalf("Failed to create node: %v", err)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
func deleteNodes(t *testing.T, client *clientset.Clientset, startIndex, endIndex int) {
|
||||
var wg sync.WaitGroup
|
||||
|
Reference in New Issue
Block a user