Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-05-19 15:07:15 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-05-19 15:07:15 +0300
commitba55ca9bc4bf2c85d2d78fcb11552ad130151110 (patch)
tree8a205191235a5b2b29e5eaacf9224c73052dddc9 /app/graphql/types
parentee3d5f16e3aa642944b121645764e33604a31307 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/graphql/types')
-rw-r--r--app/graphql/types/environment_type.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/graphql/types/environment_type.rb b/app/graphql/types/environment_type.rb
index a3737cbcd0d..936ad52200c 100644
--- a/app/graphql/types/environment_type.rb
+++ b/app/graphql/types/environment_type.rb
@@ -79,6 +79,13 @@ module Types
null: true,
description: 'Deployment freeze periods of the environment.'
+ field :cluster_agent,
+ Types::Clusters::AgentType,
+ description: 'Cluster agent of the environment.',
+ null: true do
+ extension ::Gitlab::Graphql::Limit::FieldCallCount, limit: 1
+ end
+
def tier
object.tier.to_sym
end