From e906efb7a327d4d5cbd214e263c8f5c25f6339e6 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Mon, 26 Jun 2023 11:23:42 +0900 Subject: [PATCH] Fix leftover of removed parameters This drops the logic which still tries to look up some parameters which were already removed by [1]. [1] 2c082fc561e8d470afb5b1ac72a2dfc6e4a59838 Change-Id: Ia9b49bad5e54c6140e2b57272fddfbd61d8b1c45 --- manifests/execution_expiration_policy.pp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/manifests/execution_expiration_policy.pp b/manifests/execution_expiration_policy.pp index 4342c7d..1c50402 100644 --- a/manifests/execution_expiration_policy.pp +++ b/manifests/execution_expiration_policy.pp @@ -37,12 +37,9 @@ class mistral::execution_expiration_policy ( include mistral::deps include mistral::params - $evaluation_interval_real = pick($::mistral::engine::evaluation_interval, $evaluation_interval) - $older_than_real = pick($::mistral::engine::older_than, $older_than) - mistral_config { - 'execution_expiration_policy/evaluation_interval': value => $evaluation_interval_real; - 'execution_expiration_policy/older_than': value => $older_than_real; + 'execution_expiration_policy/evaluation_interval': value => $evaluation_interval; + 'execution_expiration_policy/older_than': value => $older_than; 'execution_expiration_policy/max_finished_executions': value => $max_finished_executions; 'execution_expiration_policy/batch_size': value => $batch_size; 'execution_expiration_policy/ignored_states': value => join(any2array($ignored_states), ',');