diff --git a/lib/miq_automation_engine/engine/miq_ae_method_service.rb b/lib/miq_automation_engine/engine/miq_ae_method_service.rb index b0f668a1e..09fba1d5c 100644 --- a/lib/miq_automation_engine/engine/miq_ae_method_service.rb +++ b/lib/miq_automation_engine/engine/miq_ae_method_service.rb @@ -1,6 +1,6 @@ module MiqAeMethodService def self.const_missing(name) - super unless defined?(MiqAeServiceModelBase) + return super unless defined?(MiqAeServiceModelBase) MiqAeServiceModelBase.create_service_model_from_name(name) || super end