From c64103ac71c28269a07fe71ec547365321edde23 Mon Sep 17 00:00:00 2001 From: Adam Grare Date: Thu, 28 Apr 2022 14:38:07 -0400 Subject: [PATCH] Subclass ContainerImages under Vmware ContainerManager --- app/models/manageiq/providers/vmware/container_manager.rb | 1 + .../providers/vmware/container_manager/container_image.rb | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 app/models/manageiq/providers/vmware/container_manager/container_image.rb diff --git a/app/models/manageiq/providers/vmware/container_manager.rb b/app/models/manageiq/providers/vmware/container_manager.rb index 6342e02c0..3f6770a5c 100644 --- a/app/models/manageiq/providers/vmware/container_manager.rb +++ b/app/models/manageiq/providers/vmware/container_manager.rb @@ -3,6 +3,7 @@ class ManageIQ::Providers::Vmware::ContainerManager < ManageIQ::Providers::Kubernetes::ContainerManager require_nested :Container require_nested :ContainerGroup + require_nested :ContainerImage require_nested :ContainerNode require_nested :ContainerTemplate require_nested :EventCatcher diff --git a/app/models/manageiq/providers/vmware/container_manager/container_image.rb b/app/models/manageiq/providers/vmware/container_manager/container_image.rb new file mode 100644 index 000000000..3ec8d1ab7 --- /dev/null +++ b/app/models/manageiq/providers/vmware/container_manager/container_image.rb @@ -0,0 +1,4 @@ +ManageIQ::Providers::Kubernetes::ContainerManager::ContainerImage.include(ActsAsStiLeafClass) + +class ManageIQ::Providers::Vmware::ContainerManager::ContainerImage < ManageIQ::Providers::Kubernetes::ContainerManager::ContainerImage +end