Replaces 'disk'=>'drive' visible to end user (#15464)

This commit is contained in:
ebozduman
2022-08-04 16:10:08 -07:00
committed by GitHub
parent e93867488b
commit b57e7321e7
57 changed files with 169 additions and 169 deletions

View File

@@ -659,7 +659,7 @@ func TestXLStorageDeleteVol(t *testing.T) {
// should fail with disk not found.
err = xlStorageDeletedStorage.DeleteVol(context.Background(), "Del-Vol", false)
if err != errDiskNotFound {
t.Errorf("Expected: \"Disk not found\", got \"%s\"", err)
t.Errorf("Expected: \"Drive not found\", got \"%s\"", err)
}
}
@@ -723,7 +723,7 @@ func TestXLStorageStatVol(t *testing.T) {
// should fail with disk not found.
_, err = xlStorageDeletedStorage.StatVol(context.Background(), "Stat vol")
if err != errDiskNotFound {
t.Errorf("Expected: \"Disk not found\", got \"%s\"", err)
t.Errorf("Expected: \"Drive not found\", got \"%s\"", err)
}
}
@@ -902,7 +902,7 @@ func TestXLStorageListDir(t *testing.T) {
Force: false,
})
if err != errDiskNotFound {
t.Errorf("Expected: \"Disk not found\", got \"%s\"", err)
t.Errorf("Expected: \"Drive not found\", got \"%s\"", err)
}
}
@@ -1044,7 +1044,7 @@ func TestXLStorageDeleteFile(t *testing.T) {
Force: false,
})
if err != errDiskNotFound {
t.Errorf("Expected: \"Disk not found\", got \"%s\"", err)
t.Errorf("Expected: \"Drive not found\", got \"%s\"", err)
}
}