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/types/terraform')
-rw-r--r--app/graphql/types/terraform/state_type.rb4
-rw-r--r--app/graphql/types/terraform/state_version_type.rb5
2 files changed, 5 insertions, 4 deletions
diff --git a/app/graphql/types/terraform/state_type.rb b/app/graphql/types/terraform/state_type.rb
index cbd5aeaeef9..bce34a85f85 100644
--- a/app/graphql/types/terraform/state_type.rb
+++ b/app/graphql/types/terraform/state_type.rb
@@ -19,7 +19,7 @@ module Types
field :locked_by_user, Types::UserType,
null: true,
- description: 'The user currently holding a lock on the Terraform state.'
+ description: 'User currently holding a lock on the Terraform state.'
field :locked_at, Types::TimeType,
null: true,
@@ -28,7 +28,7 @@ module Types
field :latest_version, Types::Terraform::StateVersionType,
complexity: 3,
null: true,
- description: 'The latest version of the Terraform state.'
+ description: 'Latest version of the Terraform state.'
field :created_at, Types::TimeType,
null: false,
diff --git a/app/graphql/types/terraform/state_version_type.rb b/app/graphql/types/terraform/state_version_type.rb
index 545b3c0044d..bf1af4565bc 100644
--- a/app/graphql/types/terraform/state_version_type.rb
+++ b/app/graphql/types/terraform/state_version_type.rb
@@ -15,7 +15,7 @@ module Types
field :created_by_user, Types::UserType,
null: true,
- description: 'The user that created this version.'
+ description: 'User that created this version.'
field :download_path, GraphQL::Types::String,
null: true,
@@ -23,7 +23,8 @@ module Types
field :job, Types::Ci::JobType,
null: true,
- description: 'The job that created this version.'
+ description: 'Job that created this version.',
+ authorize: :read_commit_status
field :serial, GraphQL::Types::Int,
null: true,