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; }