From af9cb5f5f2f64bbf844db55ff70e9c7efe0d47f3 Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Fri, 5 Feb 2021 01:34:23 -0800 Subject: [PATCH] remove deprecated StandardSCData --- pkg/madmin/README.md | 2 -- pkg/madmin/info-commands.go | 2 -- 2 files changed, 4 deletions(-) diff --git a/pkg/madmin/README.md b/pkg/madmin/README.md index 00cbfff0c..69afb402a 100644 --- a/pkg/madmin/README.md +++ b/pkg/madmin/README.md @@ -232,9 +232,7 @@ Fetches Storage information for all cluster nodes. | `Backend.Type` | _BackendType_ | Type of backend used by the server currently only FS or Erasure. | | `Backend.OnlineDisks` | _BackendDisks_ | Total number of disks online per node (only applies to Erasure backend) represented in map[string]int, is empty for FS. | | `Backend.OfflineDisks` | _BackendDisks_ | Total number of disks offline per node (only applies to Erasure backend) represented in map[string]int, is empty for FS. | -| `Backend.StandardSCData` | _int_ | Data disks set for standard storage class, is empty for FS. | | `Backend.StandardSCParity` | _int_ | Parity disks set for standard storage class, is empty for FS. | -| `Backend.RRSCData` | _int_ | Data disks set for reduced redundancy storage class, is empty for FS. | | `Backend.RRSCParity` | _int_ | Parity disks set for reduced redundancy storage class, is empty for FS. | | `Backend.Sets` | _[][]DriveInfo_ | Represents topology of drives in erasure coded sets. | diff --git a/pkg/madmin/info-commands.go b/pkg/madmin/info-commands.go index d1027c340..bc2953f2b 100644 --- a/pkg/madmin/info-commands.go +++ b/pkg/madmin/info-commands.go @@ -61,9 +61,7 @@ type StorageInfo struct { // Following fields are only meaningful if BackendType is Erasure. OnlineDisks BackendDisks // Online disks during server startup. OfflineDisks BackendDisks // Offline disks during server startup. - StandardSCData int // Data disks for currently configured Standard storage class. StandardSCParity int // Parity disks for currently configured Standard storage class. - RRSCData int // Data disks for currently configured Reduced Redundancy storage class. RRSCParity int // Parity disks for currently configured Reduced Redundancy storage class. } }