From 840e54faafe010a35e20e66232fe087e12d1361f Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Thu, 20 Jun 2019 14:57:43 +0000 Subject: [PATCH] koji_hub: fix conditionals to check true vs exists. Signed-off-by: Kevin Fenzi --- .../koji_hub/templates/prune-signed-copies-protected-tags.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/koji_hub/templates/prune-signed-copies-protected-tags.j2 b/roles/koji_hub/templates/prune-signed-copies-protected-tags.j2 index a9aba77012..ad44e3a00f 100644 --- a/roles/koji_hub/templates/prune-signed-copies-protected-tags.j2 +++ b/roles/koji_hub/templates/prune-signed-copies-protected-tags.j2 @@ -1,6 +1,6 @@ f{{ FedoraRawhideNumber }}-infra f{{ FedoraRawhideNumber }}-infra-stg -{% if FedoraBranchedBodhi is defined %} +{% if FedoraBranched is true %} f{{ FedoraBranchedNumber}}-infra f{{ FedoraBranchedNumber}}-infra-stg {% endif %} @@ -8,7 +8,7 @@ f{{ FedoraCycleNumber }}-infra f{{ FedoraCycleNumber }}-infra-stg f{{ FedoraPreviousCycleNumber }}-infra f{{ FedoraPreviousCycleNumber }}-infra-stg -{% if FedoraPreviousPrevious is defined %} +{% if FedoraPreviousPrevious is true %} f{{ FedoraPreviousPreviousCycleNumber }}-infra f{{ FedoraPreviousPreviousCycleNumber }}-infra-stg {% endif %}