mirror of
https://github.com/pgsty/minio.git
synced 2026-09-26 04:45:59 +03:00
lifcycle: Add more validation to the config (#11382)
This commit is contained in:
@@ -38,6 +38,7 @@ func TestInvalidRules(t *testing.T) {
|
||||
{ // Rule with empty ID
|
||||
inputXML: `<Rule>
|
||||
<ID></ID>
|
||||
<Filter><Prefix></Prefix></Filter>
|
||||
<Expiration>
|
||||
<Days>365</Days>
|
||||
</Expiration>
|
||||
|
||||
Reference in New Issue
Block a user