mirror of
https://github.com/minio/minio.git
synced 2025-11-22 02:35:30 -05: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