We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0fac8b8 commit 9d137b2Copy full SHA for 9d137b2
1 file changed
e2e/rbd_helper.go
@@ -1958,7 +1958,8 @@ func modifyPVCVolumeAttributesClass(
1958
return false, fmt.Errorf("failed to get pvc: %w", err)
1959
}
1960
1961
- if *updatedPVC.Status.CurrentVolumeAttributesClassName != vacName {
+ if updatedPVC.Status.CurrentVolumeAttributesClassName == nil ||
1962
+ *updatedPVC.Status.CurrentVolumeAttributesClassName != vacName {
1963
return false, nil
1964
1965
0 commit comments