aboutsummaryrefslogtreecommitdiff
path: root/app/jobs
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2018-06-21 23:01:00 +0100
committerChristopher Baines <mail@cbaines.net>2018-06-21 23:01:00 +0100
commit63b495dfef8249e173fc26df0010b5ba8d6143a7 (patch)
tree27123ebfdfa40eae24ff29d0810a6fc018b5f9ed /app/jobs
parentdabe71d35f521aafc0df614b021e9e3ae94e2289 (diff)
downloadgovuk-mini-environment-admin-63b495dfef8249e173fc26df0010b5ba8d6143a7.tar
govuk-mini-environment-admin-63b495dfef8249e173fc26df0010b5ba8d6143a7.tar.gz
Fix an issue with symbol keys in GovukGuix::Job
Diffstat (limited to 'app/jobs')
-rw-r--r--app/jobs/govuk_guix/job.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/jobs/govuk_guix/job.rb b/app/jobs/govuk_guix/job.rb
index 357c8ca..5f95f4d 100644
--- a/app/jobs/govuk_guix/job.rb
+++ b/app/jobs/govuk_guix/job.rb
@@ -82,7 +82,7 @@ class GovukGuix::Job < Que::Job
def hash_to_arguments(hash)
hash.flat_map do |(key, value)|
- transformed_key = key.tr('_', '-')
+ transformed_key = key.to_s.tr('_', '-')
if value == true
["--#{transformed_key}"]