Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LifecycleConfiguration uses obsolete field Prefix #1247

Closed
LadMartin opened this issue Apr 8, 2022 · 1 comment
Closed

LifecycleConfiguration uses obsolete field Prefix #1247

LadMartin opened this issue Apr 8, 2022 · 1 comment
Milestone

Comments

@LadMartin
Copy link

LadMartin commented Apr 8, 2022

Calling
s3cmd expire s3://bkt/ --expiry-days 1
Produces
<LifecycleConfiguration> <Rule> <Prefix></Prefix> <Status>Enabled</Status> <Expiration> <Days>1</Days> </Expiration> </Rule></LifecycleConfiguration>
Which uses obsolete field Rule/Prefix and it shall be replaced with Rule/Filter/Prefix
from doc:
Prefix identifying one or more objects to which the rule applies. This is no longer used; use Filter instead.

AWS still support the obsolete version, but others may not. The AWS examples only use the new version.

@fviard fviard closed this as completed in bed73f3 Aug 28, 2022
@fviard fviard added this to the 2.3.0 milestone Aug 28, 2022
@fviard
Copy link
Contributor

fviard commented Aug 28, 2022

This is now fixed in MASTER, thank you for your detailed report!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants