diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-08-19 09:08:42 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-08-19 09:08:42 +0000 |
commit | b76ae638462ab0f673e5915986070518dd3f9ad3 (patch) | |
tree | bdab0533383b52873be0ec0eb4d3c66598ff8b91 /app/graphql/mutations/alert_management/prometheus_integration/create.rb | |
parent | 434373eabe7b4be9593d18a585fb763f1e5f1a6f (diff) | |
download | gitlab-ce-b76ae638462ab0f673e5915986070518dd3f9ad3.tar.gz |
Add latest changes from gitlab-org/gitlab@14-2-stable-eev14.2.0-rc42
Diffstat (limited to 'app/graphql/mutations/alert_management/prometheus_integration/create.rb')
-rw-r--r-- | app/graphql/mutations/alert_management/prometheus_integration/create.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/graphql/mutations/alert_management/prometheus_integration/create.rb b/app/graphql/mutations/alert_management/prometheus_integration/create.rb index 4d0a5a5cb13..0153bd0e42a 100644 --- a/app/graphql/mutations/alert_management/prometheus_integration/create.rb +++ b/app/graphql/mutations/alert_management/prometheus_integration/create.rb @@ -8,15 +8,15 @@ module Mutations graphql_name 'PrometheusIntegrationCreate' - argument :project_path, GraphQL::ID_TYPE, + argument :project_path, GraphQL::Types::ID, required: true, - description: 'The project to create the integration in.' + description: 'Project to create the integration in.' - argument :active, GraphQL::BOOLEAN_TYPE, + argument :active, GraphQL::Types::Boolean, required: true, description: 'Whether the integration is receiving alerts.' - argument :api_url, GraphQL::STRING_TYPE, + argument :api_url, GraphQL::Types::String, required: true, description: 'Endpoint at which Prometheus can be queried.' |