diff --git a/app/models/manageiq/providers/openstack/cloud_manager.rb b/app/models/manageiq/providers/openstack/cloud_manager.rb index 129719eef..8e88e3605 100644 --- a/app/models/manageiq/providers/openstack/cloud_manager.rb +++ b/app/models/manageiq/providers/openstack/cloud_manager.rb @@ -37,9 +37,9 @@ class ManageIQ::Providers::Openstack::CloudManager < ManageIQ::Providers::CloudM supports :provisioning supports :cloud_tenant_mapping do - if defined?(self.class.parent::CloudManager::CloudTenant) && !tenant_mapping_enabled? + if defined?(self.class.module_parent::CloudManager::CloudTenant) && !tenant_mapping_enabled? unsupported_reason_add(:cloud_tenant_mapping, _("Tenant mapping is disabled on the Provider")) - elsif !defined?(self.class.parent::CloudManager::CloudTenant) + elsif !defined?(self.class.module_parent::CloudManager::CloudTenant) unsupported_reason_add(:cloud_tenant_mapping, _("Tenant mapping is supported only when CloudTenant exists "\ "on the CloudManager")) end