Skip to content

Commit

Permalink
Reduce unused ternaries (#276)
Browse files Browse the repository at this point in the history
  • Loading branch information
lens0021 authored Oct 4, 2024
1 parent 866604a commit 37aacb0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions jobs/fastcgi.nomad
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
}
Expand Down

0 comments on commit 37aacb0

Please sign in to comment.