mirror of
https://github.com/pgsty/minio.git
synced 2026-09-25 20:35:58 +03:00
make sure lifecycle rule ID is present (#10084)
This commit is contained in:
@@ -146,7 +146,7 @@ func TestParseAndValidateLifecycleConfig(t *testing.T) {
|
||||
expectedParsingErr: nil,
|
||||
expectedValidationErr: nil,
|
||||
},
|
||||
{ // lifecycle config with rules having overlapping prefix
|
||||
{ // lifecycle config with rules having duplicate ID
|
||||
inputConfig: string(duplicateIDLcConfig),
|
||||
expectedParsingErr: nil,
|
||||
expectedValidationErr: errLifecycleDuplicateID,
|
||||
|
||||
Reference in New Issue
Block a user