From 435351eadd2104845f9f362121755a971884d484 Mon Sep 17 00:00:00 2001 From: Adam Grare Date: Thu, 28 Apr 2022 14:26:36 -0400 Subject: [PATCH] Subclass ContainerImage under Azure ContainerManager --- app/models/manageiq/providers/azure/container_manager.rb | 1 + .../providers/azure/container_manager/container_image.rb | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 app/models/manageiq/providers/azure/container_manager/container_image.rb diff --git a/app/models/manageiq/providers/azure/container_manager.rb b/app/models/manageiq/providers/azure/container_manager.rb index fc53ca52..a0a69e95 100644 --- a/app/models/manageiq/providers/azure/container_manager.rb +++ b/app/models/manageiq/providers/azure/container_manager.rb @@ -3,6 +3,7 @@ class ManageIQ::Providers::Azure::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/azure/container_manager/container_image.rb b/app/models/manageiq/providers/azure/container_manager/container_image.rb new file mode 100644 index 00000000..0b433a92 --- /dev/null +++ b/app/models/manageiq/providers/azure/container_manager/container_image.rb @@ -0,0 +1,4 @@ +ManageIQ::Providers::Kubernetes::ContainerManager::ContainerImage.include(ActsAsStiLeafClass) + +class ManageIQ::Providers::Azure::ContainerManager::ContainerImage < ManageIQ::Providers::Kubernetes::ContainerManager::ContainerImage +end