From 4bf0f9e1b1138eba1e3ca97b07a2a78d4a682c3f Mon Sep 17 00:00:00 2001 From: aeris Date: Wed, 23 Mar 2022 15:25:34 +0100 Subject: [PATCH] Sidekiq doesn't properly support symbol (generate warning) --- app/controllers/check_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/check_controller.rb b/app/controllers/check_controller.rb index 2e890cb..7ab92a4 100644 --- a/app/controllers/check_controller.rb +++ b/app/controllers/check_controller.rb @@ -41,7 +41,7 @@ class CheckController < ApplicationController def enqueue_host @analysis = Analysis.pending! self.type, @host, @args - CheckWorkflow.start! self.type, @analysis.host, *@analysis.args + CheckWorkflow.start! self.type.to_s, @analysis.host, *@analysis.args end def check_host