From f2619d1f629db75c4282329352f4aaf79caba436 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=88=B1=E6=8A=98=E8=85=BE=E7=9A=84=E5=B0=8F=E7=AB=B9?= =?UTF-8?q?=E5=90=8C=E5=AD=A6?= Date: Thu, 3 Apr 2025 22:56:28 +0800 Subject: [PATCH] Fix description error in README (#21099) There is prefix in json, but not in the equivalent command line. Although the role of prefix has been explained in the previous example, I think it should be supplemented. --- docs/bucket/lifecycle/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/bucket/lifecycle/README.md b/docs/bucket/lifecycle/README.md index 48c5ee941..edf5cab22 100644 --- a/docs/bucket/lifecycle/README.md +++ b/docs/bucket/lifecycle/README.md @@ -115,7 +115,7 @@ e.g, To remove noncurrent versions of all objects keeping the most recent 5 nonc This JSON rule is equivalent to the following MinIO Client command: ``` -mc ilm rule add --noncurrent-expire-days 30 --noncurrent-expire-newer 5 myminio/mydata +mc ilm rule add --noncurrent-expire-days 30 --noncurrent-expire-newer 5 --prefix "user-uploads/" myminio/mydata ``` #### 3.2.a Automatic removal of noncurrent versions keeping only most recent ones immediately (MinIO only extension)