mirror of
https://github.com/minio/minio.git
synced 2026-11-28 23:32:50 +00:00
Implement support for calculating disk usage per tenant (#5969)
Fixes #5961
This commit is contained in:
1 parent
483fe4bed5
commit
e6ec645035
23 files changed
+328
-81
No files matched your search
@@ -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)
|
||||
|
||||
|
||||
Reference in new issue
Block a user