summaryrefslogtreecommitdiff
path: root/lib/container_registry/path.rb
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-04-13 20:08:47 +0100
committerPhil Hughes <me@iamphill.com>2017-04-13 20:08:47 +0100
commit1d99c7755ce337a715847344f4f20df23b29bfc7 (patch)
treed18b0951f07332939c873e300a4b4079e422ad3c /lib/container_registry/path.rb
parenta8b7a4b71760932341b3a58542b5702495d65ba9 (diff)
parent7d7dfee48b3455eec07968e7517f9d843a04da66 (diff)
downloadgitlab-ce-notebooklab-in-repo.tar.gz
Merge branch 'master' into notebooklab-in-reponotebooklab-in-repo
Diffstat (limited to 'lib/container_registry/path.rb')
-rw-r--r--lib/container_registry/path.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/container_registry/path.rb b/lib/container_registry/path.rb
index a4b5f2aba6c..4a585996aa5 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.to_s.downcase
end
def valid?
@@ -25,7 +25,7 @@ module ContainerRegistry
end
def components
- @components ||= @path.to_s.split('/')
+ @components ||= @path.split('/')
end
def nodes