mirror of
https://github.com/minio/minio.git
synced 2025-11-29 05:19:03 -05:00
server: Fix CI build complaints (#4119)
- Ineffassign fixes. - Spell check correction.
This commit is contained in:
committed by
Harshavardhana
parent
a7afa469e2
commit
5f065e2a96
@@ -867,11 +867,11 @@ func testWebHandlerDownloadZip(obj ObjectLayer, instanceType string, t TestErrHa
|
||||
apiRouter.ServeHTTP(rec, req)
|
||||
return rec.Code, rec.Body.Bytes()
|
||||
}
|
||||
code, data := test("")
|
||||
code, _ := test("")
|
||||
if code != 403 {
|
||||
t.Fatal("Expected to receive authentication error")
|
||||
}
|
||||
code, data = test(authorization)
|
||||
code, data := test(authorization)
|
||||
if code != 200 {
|
||||
t.Fatal("web.DownloadsZip() failed")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user