diff options
author | Christopher Baines <mail@cbaines.net> | 2018-04-07 15:22:36 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2018-04-12 08:30:56 +0100 |
commit | 13bf88b2e8e6cec0d2207fe7b92f7446eea49354 (patch) | |
tree | c408c6bfd9e50cdead72f8cbb5a45a7fe48bd0d9 /app/jobs | |
parent | 6b7f16aa3073a4d5cf5d3312a005ac4d2463ef71 (diff) | |
download | govuk-mini-environment-admin-13bf88b2e8e6cec0d2207fe7b92f7446eea49354.tar govuk-mini-environment-admin-13bf88b2e8e6cec0d2207fe7b92f7446eea49354.tar.gz |
Change mini_environment_id to model_id on FinishedTerraformJob
In preparation of setting up backends through Terraform as well.
Diffstat (limited to 'app/jobs')
-rw-r--r-- | app/jobs/mini_environment_job.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/jobs/mini_environment_job.rb b/app/jobs/mini_environment_job.rb index 6ee6c3e..9635e02 100644 --- a/app/jobs/mini_environment_job.rb +++ b/app/jobs/mini_environment_job.rb @@ -29,7 +29,7 @@ class MiniEnvironmentJob < Que::Job def destroy FinishedTerraformJob.create( - mini_environment_id: @mini_environment.id, + model_id: @mini_environment.id, job_class: attrs[:job_class] ) super |