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 'lib/container_registry')
-rw-r--r--lib/container_registry/path.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/container_registry/path.rb b/lib/container_registry/path.rb
index 2291291d1fc..89973b2e7b8 100644
--- a/lib/container_registry/path.rb
+++ b/lib/container_registry/path.rb
@@ -56,7 +56,7 @@ module ContainerRegistry
def repository_name
return unless has_project?
- @path.remove(%r(^?#{Regexp.escape(repository_project.full_path)}/?))
+ @path.remove(%r(^#{Regexp.escape(repository_project.full_path)}/?))
end
def to_s