Skip to content

Commit

Permalink
Use sidekiq_user instead of puma_user in the cap3 task
Browse files Browse the repository at this point in the history
  • Loading branch information
wingrunr21 committed Sep 30, 2015
1 parent 1c34fd7 commit 418c78e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/capistrano/tasks/sidekiq.rake
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 418c78e

Please sign in to comment.