diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-05-19 15:07:15 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-05-19 15:07:15 +0300 |
commit | ba55ca9bc4bf2c85d2d78fcb11552ad130151110 (patch) | |
tree | 8a205191235a5b2b29e5eaacf9224c73052dddc9 /app/graphql/types | |
parent | ee3d5f16e3aa642944b121645764e33604a31307 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/graphql/types')
-rw-r--r-- | app/graphql/types/environment_type.rb | 7 |
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 |