mirror of
https://github.com/minio/minio.git
synced 2026-02-04 18:00:15 -05:00
ilm: Make per-tier stats available via admin-tier-info (#13381)
This commit is contained in:
committed by
GitHub
parent
3b9dfa9d29
commit
939fbb3c38
@@ -46,6 +46,8 @@ const (
|
||||
tierConfigFile = "tier-config.bin"
|
||||
tierConfigFormat = 1
|
||||
tierConfigVersion = 1
|
||||
|
||||
minioHotTier = "STANDARD"
|
||||
)
|
||||
|
||||
// tierConfigPath refers to remote tier config object name
|
||||
@@ -85,7 +87,6 @@ func (config *TierConfigMgr) Add(ctx context.Context, tier madmin.TierConfig) er
|
||||
defer config.Unlock()
|
||||
|
||||
// check if tier name is in all caps
|
||||
|
||||
tierName := tier.Name
|
||||
if tierName != strings.ToUpper(tierName) {
|
||||
return errTierNameNotUppercase
|
||||
|
||||
Reference in New Issue
Block a user