Skip to content

Commit c41932e

Browse files
committed
Code review changes
1 parent 903b98d commit c41932e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/volume/awsebs/aws_ebs_block_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ func TestGetVolumeSpecFromGlobalMapPath(t *testing.T) {
6868
// Good Path
6969
spec, err := plug.(*awsElasticBlockStorePlugin).getVolumeSpecFromGlobalMapPath("myVolume", expectedGlobalPath)
7070
if spec == nil || err != nil {
71-
t.Fatalf("Failed to get spec from GlobalMapPath: %v", err)
71+
t.Errorf("Invalid volumeMode from GlobalMapPath spec: %v - %v", &specMode, block)
7272
}
7373
if spec.PersistentVolume.Name != "myVolume" {
7474
t.Errorf("Invalid PV name from GlobalMapPath spec: %s", spec.PersistentVolume.Name)

0 commit comments

Comments
 (0)