Skip to content

Commit

Permalink
Change graph_refresh to manager_refresh
Browse files Browse the repository at this point in the history
Change graph_refresh to manager_refresh
  • Loading branch information
Ladas committed Mar 10, 2017
1 parent 3ef4cca commit 2abefbd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/models/ems_event/automate.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ class EmsEvent
module Automate
extend ActiveSupport::Concern

def graph_refresh(sync: false)
def manager_refresh(sync: false)
refresh_targets = manager_refresh_targets

return if refresh_targets.empty?
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,11 +106,11 @@ def self.miq_host_and_storage_least_utilized(obj, _inputs)
end

def self.miq_refresh(obj, _inputs)
event_object_from_workspace(obj).graph_refresh(:sync => false)
event_object_from_workspace(obj).manager_refresh(:sync => false)
end

def self.miq_refresh_sync(obj, _inputs)
event_object_from_workspace(obj).graph_refresh(:sync => true)
event_object_from_workspace(obj).manager_refresh(:sync => true)
end

def self.miq_event_action_refresh(obj, inputs)
Expand Down

0 comments on commit 2abefbd

Please sign in to comment.