From 418c78e20c0f818a3a282cd4e21995613c518d24 Mon Sep 17 00:00:00 2001 From: Stafford Brunk Date: Wed, 30 Sep 2015 17:30:43 -0400 Subject: [PATCH] Use sidekiq_user instead of puma_user in the cap3 task --- lib/capistrano/tasks/sidekiq.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/capistrano/tasks/sidekiq.rake b/lib/capistrano/tasks/sidekiq.rake index 97f4699..62610ec 100644 --- a/lib/capistrano/tasks/sidekiq.rake +++ b/lib/capistrano/tasks/sidekiq.rake @@ -216,7 +216,7 @@ namespace :sidekiq do end def switch_user(&block) - su_user = fetch(:puma_user) + su_user = fetch(:sidekiq_user) if su_user as su_user do yield