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/mutations/container_registry/protection/rule/create.rb')
-rw-r--r--app/graphql/mutations/container_registry/protection/rule/create.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/graphql/mutations/container_registry/protection/rule/create.rb b/app/graphql/mutations/container_registry/protection/rule/create.rb
index cf8416480a2..5b01d13d8cb 100644
--- a/app/graphql/mutations/container_registry/protection/rule/create.rb
+++ b/app/graphql/mutations/container_registry/protection/rule/create.rb
@@ -18,12 +18,12 @@ module Mutations
required: true,
description: 'Full path of the project where a protection rule is located.'
- argument :container_path_pattern,
+ argument :repository_path_pattern,
GraphQL::Types::String,
required: true,
description:
- 'ContainerRegistryname protected by the protection rule. For example `@my-scope/my-container-*`. ' \
- 'Wildcard character `*` allowed.'
+ 'Container repository path pattern protected by the protection rule. ' \
+ 'For example `my-project/my-container-*`. Wildcard character `*` allowed.'
argument :push_protected_up_to_access_level,
Types::ContainerRegistry::Protection::RuleAccessLevelEnum,