mirror of
https://github.com/pgsty/minio.git
synced 2026-07-23 14:10:25 +03:00
Start using error wrapping with fmt.Errorf (#8588)
Use fatih/errwrap to fix all the code to use error wrapping with fmt.Errorf()
This commit is contained in:
+1
-1
@@ -1351,7 +1351,7 @@ func TestPosixFormatFileChange(t *testing.T) {
|
||||
}
|
||||
|
||||
err = posixStorage.MakeVol(volume)
|
||||
if err != errDiskNotFound {
|
||||
if err != errVolumeExists {
|
||||
t.Fatalf("MakeVol expected to fail with errDiskNotFound but failed with %s", err)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user