summaryrefslogtreecommitdiff
path: root/app/presenters/clusters/cluster_presenter.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/presenters/clusters/cluster_presenter.rb')
-rw-r--r--app/presenters/clusters/cluster_presenter.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/presenters/clusters/cluster_presenter.rb b/app/presenters/clusters/cluster_presenter.rb
index 038fc752255..eb4bd8532af 100644
--- a/app/presenters/clusters/cluster_presenter.rb
+++ b/app/presenters/clusters/cluster_presenter.rb
@@ -76,7 +76,7 @@ module Clusters
def gitlab_managed_apps_logs_path
return unless logs_project && can_read_cluster?
- if cluster.application_elastic_stack&.available?
+ if cluster.elastic_stack_adapter&.available?
elasticsearch_project_logs_path(logs_project, cluster_id: cluster.id, format: :json)
else
k8s_project_logs_path(logs_project, cluster_id: cluster.id, format: :json)
@@ -144,4 +144,4 @@ module Clusters
end
end
-Clusters::ClusterPresenter.prepend_if_ee('EE::Clusters::ClusterPresenter')
+Clusters::ClusterPresenter.prepend_mod_with('Clusters::ClusterPresenter')