From 330558b6267f537026be39d65bfaf2f1dfe13016 Mon Sep 17 00:00:00 2001 From: Maha Benzekri Date: Wed, 23 Oct 2024 15:13:52 +0200 Subject: [PATCH] post reviews fixup --- .../lifecycle/bucketProcessor/LifecycleBucketProcessor.js | 2 +- extensions/lifecycle/tasks/LifecycleTask.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/extensions/lifecycle/bucketProcessor/LifecycleBucketProcessor.js b/extensions/lifecycle/bucketProcessor/LifecycleBucketProcessor.js index 6d8c6a168..7b059f127 100644 --- a/extensions/lifecycle/bucketProcessor/LifecycleBucketProcessor.js +++ b/extensions/lifecycle/bucketProcessor/LifecycleBucketProcessor.js @@ -186,7 +186,7 @@ class LifecycleBucketProcessor { lcOptions: this._lcOptions, circuitBreakers: this._circuitBreakers, log: this._log, - supportedRules: this._supportedRules, + supportedRules: this._lcConfig.supportedLifecycleRules, }; } diff --git a/extensions/lifecycle/tasks/LifecycleTask.js b/extensions/lifecycle/tasks/LifecycleTask.js index 094b9be2f..620ae4b8a 100644 --- a/extensions/lifecycle/tasks/LifecycleTask.js +++ b/extensions/lifecycle/tasks/LifecycleTask.js @@ -95,10 +95,10 @@ class LifecycleTask extends BackbeatTask { }); this._lifecycleUtils = new LifecycleUtils( - lpState.supportedRules, + this.supportedRules, this._lifecycleDateTime ); - this._supportedRules = lpState.supportedRules; + this._supportedRules = this.supportedRules; this._totalRetries = 0; }