mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-12 13:31:52 +00:00
Merge branch 'fix-attachdetach-swallowed-error' into fix-storageos-swallowed-err
This commit is contained in:
commit
7fb3dbabdd
@ -102,6 +102,10 @@ func Test_AttachDetachControllerStateOfWolrdPopulators_Positive(t *testing.T) {
|
|||||||
|
|
||||||
// Test the ActualStateOfWorld contains all the node volumes
|
// Test the ActualStateOfWorld contains all the node volumes
|
||||||
nodes, err := adc.nodeLister.List(labels.Everything())
|
nodes, err := adc.nodeLister.List(labels.Everything())
|
||||||
|
if err != nil {
|
||||||
|
t.Fatalf("Failed to list nodes in indexer. Expected: <no error> Actual: %v", err)
|
||||||
|
}
|
||||||
|
|
||||||
for _, node := range nodes {
|
for _, node := range nodes {
|
||||||
nodeName := types.NodeName(node.Name)
|
nodeName := types.NodeName(node.Name)
|
||||||
for _, attachedVolume := range node.Status.VolumesAttached {
|
for _, attachedVolume := range node.Status.VolumesAttached {
|
||||||
|
Loading…
Reference in New Issue
Block a user