mirror of
https://github.com/minio/minio.git
synced 2025-11-09 13:39:46 -05:00
Fixed tautological conditions (#7959)
We already check for err being equal to nil above, no need to check again.
This commit is contained in:
committed by
Harshavardhana
parent
c5faba55c1
commit
38bc3a45db
@@ -1830,9 +1830,7 @@ func TestPosixVerifyFile(t *testing.T) {
|
||||
if err == io.EOF {
|
||||
break
|
||||
}
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
t.Fatal(err)
|
||||
}
|
||||
w.Close()
|
||||
if err := posixStorage.VerifyFile(volName, fileName, false, algo, nil, shardSize); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user