From f0185addb172cbdbb1b24951b611bfb41224c4c7 Mon Sep 17 00:00:00 2001 From: Oleg Barenboim Date: Sun, 31 May 2020 10:10:25 -0400 Subject: [PATCH] Merge pull request #445 from kbrock/class_reload fix reload! (cherry picked from commit f44fae618cfade841a2b6ddcf12f56ae34baabca) --- lib/miq_automation_engine/engine/miq_ae_method_service.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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