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:
Diffstat (limited to 'app/graphql/resolvers/ci/config_resolver.rb')
-rw-r--r--app/graphql/resolvers/ci/config_resolver.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/app/graphql/resolvers/ci/config_resolver.rb b/app/graphql/resolvers/ci/config_resolver.rb
index f2e33251b9c..2d74392a84c 100644
--- a/app/graphql/resolvers/ci/config_resolver.rb
+++ b/app/graphql/resolvers/ci/config_resolver.rb
@@ -14,19 +14,19 @@ module Resolvers
authorize :read_pipeline
- argument :project_path, GraphQL::ID_TYPE,
+ argument :project_path, GraphQL::Types::ID,
required: true,
- description: 'The project of the CI config.'
+ description: 'Project of the CI config.'
- argument :sha, GraphQL::STRING_TYPE,
+ argument :sha, GraphQL::Types::String,
required: false,
description: "Sha for the pipeline."
- argument :content, GraphQL::STRING_TYPE,
+ argument :content, GraphQL::Types::String,
required: true,
description: "Contents of `.gitlab-ci.yml`."
- argument :dry_run, GraphQL::BOOLEAN_TYPE,
+ argument :dry_run, GraphQL::Types::Boolean,
required: false,
description: 'Run pipeline creation simulation, or only do static check.'