diff --git a/app/models/ems_event/automate.rb b/app/models/ems_event/automate.rb index dcf6353279f..d00e7c1d34b 100644 --- a/app/models/ems_event/automate.rb +++ b/app/models/ems_event/automate.rb @@ -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? diff --git a/lib/miq_automation_engine/engine/miq_ae_engine/miq_ae_builtin_method.rb b/lib/miq_automation_engine/engine/miq_ae_engine/miq_ae_builtin_method.rb index 7d3e2634602..e8bb807a31b 100644 --- a/lib/miq_automation_engine/engine/miq_ae_engine/miq_ae_builtin_method.rb +++ b/lib/miq_automation_engine/engine/miq_ae_engine/miq_ae_builtin_method.rb @@ -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)