summaryrefslogtreecommitdiff
path: root/lib/container_registry
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-04-13 09:11:41 +0200
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-04-13 09:11:41 +0200
commit22726942fe0b6c11c20de070cc9784de12ca2ce6 (patch)
tree1373f923b0cb29c83ce9351c183e5196a617e04b /lib/container_registry
parentd7a527163b64fa38e46fc6195fef2f5d93e47d07 (diff)
downloadgitlab-ce-22726942fe0b6c11c20de070cc9784de12ca2ce6.tar.gz
Fix registry for projects with uppercases in path
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 a4b5f2aba6c..30828bb6565 100644
--- a/lib/container_registry/path.rb
+++ b/lib/container_registry/path.rb
@@ -15,7 +15,7 @@ module ContainerRegistry
LEVELS_SUPPORTED = 3
def initialize(path)
- @path = path
+ @path = path.downcase
end
def valid?