Skip to content

Commit

Permalink
Change ems refresh task complete messaging
Browse files Browse the repository at this point in the history
taken from:
- ManageIQ#22465
- ManageIQ/manageiq-providers-autosde#228

Instead of displaying target information, this now displays a user friendly message in the ui
  • Loading branch information
kbrock committed Nov 6, 2023
1 parent 2c1793c commit 9225d07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/ems_refresh.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def self.debug_trace
cache_with_timeout(:queue_timeout) { MiqEmsRefreshWorker.worker_settings[:queue_timeout] || 60.minutes }

def self.queue_refresh_task(target, id = nil)
queue_refresh(target, id, :create_task => true)
queue_refresh(target, id, :create_task => true, :action => "EmsRefresh completed successfully")
end

def self.queue_refresh(target, id = nil, opts = {})
Expand Down

0 comments on commit 9225d07

Please sign in to comment.