mirror of
https://github.com/pgsty/minio.git
synced 2026-07-23 06:00:24 +03:00
clean up: ineffassign fixes (#2411)
This commit is contained in:
committed by
Harshavardhana
parent
ef0a108dde
commit
70fd38818e
+1
-1
@@ -336,7 +336,7 @@ func TestListDir(t *testing.T) {
|
||||
t.Error(err)
|
||||
}
|
||||
// None of the disks are available, should get errDiskNotFound.
|
||||
entries, _, err = listDir(volume, "", "")
|
||||
_, _, err = listDir(volume, "", "")
|
||||
if err != errDiskNotFound {
|
||||
t.Error("expected errDiskNotFound error.")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user