mirror of
https://github.com/minio/minio.git
synced 2025-11-21 10:16:03 -05:00
fix: lifecycle XML parsing errors with Versioning (#9974)
This commit is contained in:
@@ -204,9 +204,7 @@ func (lc Lifecycle) ComputeAction(obj ObjectOpts) Action {
|
||||
if time.Now().After(expectedExpiryTime(obj.ModTime, rule.NoncurrentVersionExpiration.NoncurrentDays)) {
|
||||
return DeleteVersionAction
|
||||
}
|
||||
return NoneAction
|
||||
}
|
||||
return NoneAction
|
||||
}
|
||||
|
||||
// All other expiration only applies to latest versions
|
||||
|
||||
Reference in New Issue
Block a user