mirror of
https://github.com/minio/minio.git
synced 2025-11-21 18:26:04 -05:00
Deprecate showing drive capacity and total free (#5976)
This addresses a situation that we shouldn't be displaying Total/Free anymore, instead we should simply show the total usage.
This commit is contained in:
committed by
kannappanr
parent
e6ec645035
commit
000e360196
@@ -221,13 +221,9 @@ func testStorageInfoWebHandler(obj ObjectLayer, instanceType string, t TestErrHa
|
||||
if rec.Code != http.StatusOK {
|
||||
t.Fatalf("Expected the response status to be 200, but instead found `%d`", rec.Code)
|
||||
}
|
||||
err = getTestWebRPCResponse(rec, &storageInfoReply)
|
||||
if err != nil {
|
||||
if err = getTestWebRPCResponse(rec, &storageInfoReply); err != nil {
|
||||
t.Fatalf("Failed %v", err)
|
||||
}
|
||||
if storageInfoReply.StorageInfo.Total <= 0 {
|
||||
t.Fatalf("Got a zero or negative total free space disk")
|
||||
}
|
||||
}
|
||||
|
||||
// Wrapper for calling ServerInfo Web Handler
|
||||
|
||||
Reference in New Issue
Block a user