From 89fee0d7748f7bc4354c4fee80ffa5e1c95f0dbf Mon Sep 17 00:00:00 2001 From: Keenan Brock Date: Fri, 23 Feb 2024 16:48:17 -0500 Subject: [PATCH] drop unsupported_reason_add --- app/models/manageiq/providers/kubernetes/container_manager.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/models/manageiq/providers/kubernetes/container_manager.rb b/app/models/manageiq/providers/kubernetes/container_manager.rb index a4325b2ef1..dc3144b8c8 100644 --- a/app/models/manageiq/providers/kubernetes/container_manager.rb +++ b/app/models/manageiq/providers/kubernetes/container_manager.rb @@ -9,7 +9,7 @@ class ManageIQ::Providers::Kubernetes::ContainerManager < ManageIQ::Providers::C supports :create supports :streaming_refresh do - unsupported_reason_add(:streaming_refresh, _("Streaming refresh not enabled")) unless streaming_refresh_enabled? + _("Streaming refresh not enabled") unless streaming_refresh_enabled? end supports :label_mapping @@ -29,7 +29,7 @@ def monitoring_manager_needed? end supports :metrics do - unsupported_reason_add(:metrics, _("No metrics endpoint has been added")) unless metrics_endpoint_exists? + _("No metrics endpoint has been added") unless metrics_endpoint_exists? end def metrics_endpoint_exists?