aboutsummaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2018-07-01 08:57:41 +0100
committerChristopher Baines <mail@cbaines.net>2018-07-01 08:57:41 +0100
commit1e324dfdcc47f83ecc613ec8faaf9e378a808bfb (patch)
tree8482b9a72f628b2bdce74adf35afff3aa88beb23 /app/controllers
parent6de9ae2f55eec21bd2c4f46775598475e71f6463 (diff)
downloadgovuk-mini-environment-admin-1e324dfdcc47f83ecc613ec8faaf9e378a808bfb.tar
govuk-mini-environment-admin-1e324dfdcc47f83ecc613ec8faaf9e378a808bfb.tar.gz
Fix the FetchRevisionJob to better handle remote hosts
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/govuk_guix/revisions_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/govuk_guix/revisions_controller.rb b/app/controllers/govuk_guix/revisions_controller.rb
index 17634dd..14a3161 100644
--- a/app/controllers/govuk_guix/revisions_controller.rb
+++ b/app/controllers/govuk_guix/revisions_controller.rb
@@ -34,7 +34,7 @@ class GovukGuix::RevisionsController < ApplicationController
backend = Backends::TerraformAws.first
options = {
- run_remotely_on_host: backend.build_remote_host
+ backend_type_and_id: backend.type_and_id
}
end