aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/jobs/backends/terraform_libvirt_job.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/jobs/backends/terraform_libvirt_job.rb b/app/jobs/backends/terraform_libvirt_job.rb
index af8eba3..6a088b9 100644
--- a/app/jobs/backends/terraform_libvirt_job.rb
+++ b/app/jobs/backends/terraform_libvirt_job.rb
@@ -31,6 +31,10 @@ class Backends::TerraformLibvirtJob < Que::Job
end
end
+ def self.job_title(que_job)
+ que_job.args.last.titleize
+ end
+
def self.jobs(terraform_libvirt_backend_id)
QueJob
.where(