diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-06-29 21:09:23 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-06-29 21:09:23 +0000 |
commit | ab593c8ded443f7ade3540ff8dac69ee51bc74fd (patch) | |
tree | 1fb8b2e194747f135d8610cd4b77766ac458b3a7 /app/presenters | |
parent | 860efb35e24e07a1a22bcafcddb5f0409d40354c (diff) | |
download | gitlab-ce-ab593c8ded443f7ade3540ff8dac69ee51bc74fd.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/presenters')
-rw-r--r-- | app/presenters/clusters/cluster_presenter.rb | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/app/presenters/clusters/cluster_presenter.rb b/app/presenters/clusters/cluster_presenter.rb index 454e5c0e44a..ec1dc96c2e3 100644 --- a/app/presenters/clusters/cluster_presenter.rb +++ b/app/presenters/clusters/cluster_presenter.rb @@ -52,16 +52,6 @@ module Clusters end end - def gitlab_managed_apps_logs_path - return unless logs_project && can_read_cluster? - - 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) - end - end - def read_only_kubernetes_platform_fields? !cluster.provided_by_user? end |