Skip to content

Commit

Permalink
Add requester to raise_retirement_event log message
Browse files Browse the repository at this point in the history
  • Loading branch information
d-m-u committed Aug 23, 2018
1 parent d95e46b commit 04b8cc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/mixins/retirement_mixin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ def retired_event_name
def raise_retirement_event(event_name, requester = nil)
requester ||= User.current_user.try(:userid)
q_options = retire_queue_options
$log.info("Raising Retirement Event for [#{name}] with queue options: #{q_options.inspect}")
$log.info("Requester [#{requester}] raising Retirement Event for [#{name}] with queue options: #{q_options.inspect}")
MiqEvent.raise_evm_event(self, event_name, setup_event_hash(requester), q_options)
end

Expand Down

0 comments on commit 04b8cc6

Please sign in to comment.