Skip to content

Commit

Permalink
Update extensions/lifecycle/LifecycleConfigValidator.js
Browse files Browse the repository at this point in the history
Co-authored-by: Walid El Ansari <48165340+Kerkesni@users.noreply.github.com>
  • Loading branch information
benzekrimaha and Kerkesni authored Oct 24, 2024
1 parent 782c8d5 commit efa1e99
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion extensions/lifecycle/LifecycleConfigValidator.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ const joiSchema = joi.object({
coldStorageGCTopicPrefix: joi.string().default('cold-gc-req-'),
coldStorageStatusTopicPrefix: joi.string().default('cold-status-'),
supportedLifecycleRules: joi.array().items(
joi.string().valid(...supportedLifecycleRules)).default(supportedLifecycleRules),
joi.string().valid(...supportedLifecycleRules)
).default(supportedLifecycleRules),
});

function configValidator(backbeatConfig, extConfig) {
Expand Down

0 comments on commit efa1e99

Please sign in to comment.