mirror of
https://github.com/minio/minio.git
synced 2025-11-21 02:09:08 -05:00
relax validation when loading lifecycle document from the backend (#9612)
This commit is contained in:
@@ -57,9 +57,6 @@ func ParseLifecycleConfig(reader io.Reader) (*Lifecycle, error) {
|
||||
if err := xml.NewDecoder(reader).Decode(&lc); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if err := lc.Validate(); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return &lc, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user