Skip to content

Commit

Permalink
miq_queue: style
Browse files Browse the repository at this point in the history
  • Loading branch information
yrudman committed Mar 14, 2018
1 parent 6470eb5 commit 6e24749
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/miq_queue.rb
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ def self.get_worker(task_id)
private

def activate_miq_task(args)
MiqTask.update_status(miq_task_id, MiqTask::STATE_ACTIVE, MiqTask::STATUS_OK, "Task starting") if miq_task
MiqTask.update_status(miq_task_id, MiqTask::STATE_ACTIVE, MiqTask::STATUS_OK, "Task starting") if miq_task
pars = args.first
pars[:miq_task_id] = miq_task_id if pars.kind_of?(Hash)
args
Expand Down

0 comments on commit 6e24749

Please sign in to comment.