From 37aacb094e5d271719a1daebea36bd216076b292 Mon Sep 17 00:00:00 2001 From: Lens0021 / Leslie Date: Fri, 4 Oct 2024 20:04:47 +0900 Subject: [PATCH] Reduce unused ternaries (#276) --- jobs/fastcgi.nomad | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/jobs/fastcgi.nomad b/jobs/fastcgi.nomad index 8145aa3..56b4e27 100644 --- a/jobs/fastcgi.nomad +++ b/jobs/fastcgi.nomad @@ -173,18 +173,18 @@ job "fastcgi" { NOMAD_UPSTREAM_ADDR_http = "127.0.0.1:80" NOMAD_UPSTREAM_ADDR_mysql = "127.0.0.1:3306" NOMAD_UPSTREAM_ADDR_memcached = "127.0.0.1:11211" - MEDIAWIKI_SKIP_INSTALL = local.main ? "1" : "0" + MEDIAWIKI_SKIP_INSTALL = "1" MEDIAWIKI_SKIP_IMPORT_SITES = "1" - MEDIAWIKI_SKIP_UPDATE = local.main ? "1" : "0" + MEDIAWIKI_SKIP_UPDATE = "1" } } dynamic "env" { for_each = var.test ? [{}] : [] content { - MEDIAWIKI_SKIP_INSTALL = local.main ? "1" : "0" + MEDIAWIKI_SKIP_INSTALL = "0" MEDIAWIKI_SKIP_IMPORT_SITES = "1" - MEDIAWIKI_SKIP_UPDATE = local.main ? "1" : "0" + MEDIAWIKI_SKIP_UPDATE = "0" } } }