Skip to content

Commit

Permalink
drop unsupported_reason_add
Browse files Browse the repository at this point in the history
  • Loading branch information
kbrock committed Feb 23, 2024
1 parent 18261e1 commit 89fee0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/models/manageiq/providers/kubernetes/container_manager.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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?
Expand Down

0 comments on commit 89fee0d

Please sign in to comment.