Implement support for calculating disk usage per tenant (#5969)

Fixes #5961
This commit is contained in:
Harshavardhana authored and Nitish Tiwari committed 2018-05-23 15:41:29 +05:30
1 parent 483fe4bed5
commit e6ec645035
23 files changed
+328 -81

No files matched your search

+1 -3
View File
@@ -19,8 +19,6 @@ package cmd
import (
"os"
"testing"
"github.com/minio/minio/pkg/disk"
)
type testStorageRPCServer struct {
@@ -91,7 +89,7 @@ func TestStorageRPCInvalidToken(t *testing.T) {
Vol: "myvol",
}
// 1. DiskInfoHandler
diskInfoReply := &disk.Info{}
diskInfoReply := &DiskInfo{}
err = storageRPC.DiskInfoHandler(&badAuthRPCArgs, diskInfoReply)
errorIfInvalidToken(t, err)