Skip to content

Commit

Permalink
Log zone(q_options) when raising retirement event.
Browse files Browse the repository at this point in the history
  • Loading branch information
tinaafitz committed Jun 6, 2017
1 parent bf557a2 commit 6c48ad6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/models/mixins/retirement_mixin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,9 @@ def retired_event_name
end

def raise_retirement_event(event_name, requester = nil)
$log.info("Raising Retirement Event for [#{name}]")
MiqEvent.raise_evm_event(self, event_name, setup_event_hash(requester), retire_queue_options)
q_options = retire_queue_options
$log.info("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

def raise_audit_event(event_name, message)
Expand Down

0 comments on commit 6c48ad6

Please sign in to comment.