From 725bbb4d2740f3efe41dc242499b8091f6515f0d Mon Sep 17 00:00:00 2001 From: osc-bot Date: Tue, 7 Jan 2025 02:43:38 +0000 Subject: [PATCH] lint a random file --- apps/myjobs/app/models/job.rb | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/apps/myjobs/app/models/job.rb b/apps/myjobs/app/models/job.rb index 308d7dbcfa..664bb8f21c 100644 --- a/apps/myjobs/app/models/job.rb +++ b/apps/myjobs/app/models/job.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + class Job < ApplicationRecord include OscMacheteRails::Statusable @@ -12,9 +14,9 @@ class Job < ApplicationRecord # so we can include a custom TorqueAdapter def job OSC::Machete::Job.new( - script: script, - pbsid: pbsid, - host: host || workflow.batch_host, + script: script, + pbsid: pbsid, + host: host || workflow.batch_host, torque_helper: ResourceMgrAdapter.new(workflow) ) end