diff --git a/cmd/gateway/nas/gateway-nas.go b/cmd/gateway/nas/gateway-nas.go index 876a3fc5e..f62fee82b 100644 --- a/cmd/gateway/nas/gateway-nas.go +++ b/cmd/gateway/nas/gateway-nas.go @@ -17,6 +17,8 @@ package nas import ( + "context" + "github.com/minio/cli" minio "github.com/minio/minio/cmd" "github.com/minio/minio/pkg/auth" @@ -121,6 +123,12 @@ func (n *nasObjects) IsListenBucketSupported() bool { return false } +func (n *nasObjects) StorageInfo(ctx context.Context) minio.StorageInfo { + sinfo := n.ObjectLayer.StorageInfo(ctx) + sinfo.Backend.Type = minio.Unknown + return sinfo +} + // nasObjects implements gateway for Minio and S3 compatible object storage servers. type nasObjects struct { minio.ObjectLayer