mirror of
https://github.com/minio/minio.git
synced 2025-11-20 18:06:10 -05:00
feat: allow expiration of all versions via ILM Expiration action (#17521)
Following extension allows users to specify immediate purge of
all versions as soon as the latest version of this object has
expired.
```
<LifecycleConfiguration>
<Rule>
<ID>ClassADocRule</ID>
<Filter>
<Prefix>classA/</Prefix>
</Filter>
<Status>Enabled</Status>
<Expiration>
<Days>3650</Days>
<ExpiredObjectAllVersions>true</ExpiredObjectAllVersions>
</Expiration>
</Rule>
...
```
This commit is contained in:
@@ -162,7 +162,6 @@ func getDiskLocation(f format) (string, error) {
|
||||
}
|
||||
|
||||
func main() {
|
||||
|
||||
var node, args string
|
||||
|
||||
flag.StringVar(&node, "local-node-name", "", "the name of the local node")
|
||||
|
||||
Reference in New Issue
Block a user