From c76f209ccc100de45cadd2e5afeead46aae7dfe1 Mon Sep 17 00:00:00 2001 From: dorman <553555147@qq.com> Date: Thu, 7 Aug 2025 07:48:58 +0800 Subject: [PATCH] Optimize outdated commands in the log (#21498) --- cmd/bucket-quota.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/bucket-quota.go b/cmd/bucket-quota.go index f50a2d7b2..f4f851955 100644 --- a/cmd/bucket-quota.go +++ b/cmd/bucket-quota.go @@ -92,7 +92,7 @@ func parseBucketQuota(bucket string, data []byte) (quotaCfg *madmin.BucketQuota, } if !quotaCfg.IsValid() { if quotaCfg.Type == "fifo" { - internalLogIf(GlobalContext, errors.New("Detected older 'fifo' quota config, 'fifo' feature is removed and not supported anymore. Please clear your quota configs using 'mc admin bucket quota alias/bucket --clear' and use 'mc ilm add' for expiration of objects"), logger.WarningKind) + internalLogIf(GlobalContext, errors.New("Detected older 'fifo' quota config, 'fifo' feature is removed and not supported anymore. Please clear your quota configs using 'mc quota clear alias/bucket' and use 'mc ilm add' for expiration of objects"), logger.WarningKind) return quotaCfg, fmt.Errorf("invalid quota type 'fifo'") } return quotaCfg, fmt.Errorf("Invalid quota config %#v", quotaCfg)