Skip to content

Commit 4645089

Browse files
authored
Merge pull request #280 from tobiashuste/fix-string-in-runner-config
Make sure idle_time is a string in the runner config
2 parents 1b228dc + 5073f7a commit 4645089

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roles/gitlab_runner/templates/config.toml.j2

+1-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ sentry_dsn = "{{ gitlab_runner_sentry_dsn }}"
122122

123123
[[runners.autoscaler.policy]]
124124
idle_count = {{ runner.autoscaler_idle_count | default(0) }}
125-
idle_time = {{ runner.autoscaler_idle_time | default("30m0s") }}
125+
idle_time = "{{ runner.autoscaler_idle_time | default('30m0s') }}"
126126
scale_factor = {{ runner.autoscaler_scale_factor | default(0.0) }}
127127
scale_factor_limit = {{ runner.autoscaler_scale_factor_limit | default(0) }}
128128
{% endif %}

0 commit comments

Comments
 (0)