summaryrefslogtreecommitdiff
path: root/app/serializers/cluster_entity.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/serializers/cluster_entity.rb')
-rw-r--r--app/serializers/cluster_entity.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/serializers/cluster_entity.rb b/app/serializers/cluster_entity.rb
index 06e14179238..eea0acdc11b 100644
--- a/app/serializers/cluster_entity.rb
+++ b/app/serializers/cluster_entity.rb
@@ -24,4 +24,8 @@ class ClusterEntity < Grape::Entity
expose :kubernetes_errors do |cluster|
ClusterErrorEntity.new(cluster)
end
+
+ expose :enable_advanced_logs_querying do |cluster|
+ cluster.application_elastic_stack_available?
+ end
end