Skip to content

Commit

Permalink
remove dead code. not used in the template but in the docker-options …
Browse files Browse the repository at this point in the history
…template
  • Loading branch information
kayman-mk committed Feb 8, 2024
1 parent 9c7c2d0 commit df41c27
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,6 @@ locals {
}
)

runners_pull_policies = "[\"${join("\",\"", var.runner_worker_docker_options.pull_policies)}\"]"

/* determines if the docker machine executable adds the Name tag automatically (versions >= 0.16.2) */
# make sure to skip pre-release stuff in the semver by ignoring everything after "-"
docker_machine_version_used = split(".", split("-", var.runner_install.docker_machine_version)[0])
Expand Down
1 change: 0 additions & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ locals {
runners_executor = var.runner_worker.type
runners_limit = var.runner_worker.max_jobs
runners_concurrent = var.runner_manager.maximum_concurrent_jobs
runners_pull_policies = local.runners_pull_policies
runners_idle_count = var.runner_worker_docker_machine_instance.idle_count
runners_idle_time = var.runner_worker_docker_machine_instance.idle_time
runners_max_builds = local.runners_max_builds_string
Expand Down

0 comments on commit df41c27

Please sign in to comment.