summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-06-15 16:08:45 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2016-07-15 17:14:00 +0200
commitfbdf9008c2f6f2fbf75338ab6582b65072972f08 (patch)
tree72f7680152601c65845cc2b5d5787f39488c6997 /lib
parent8b7932c21951de172d531ab8a3e9506c98db7483 (diff)
downloadgitlab-ce-fbdf9008c2f6f2fbf75338ab6582b65072972f08.tar.gz
Make docker registry work with location redirects when external storage is used
Diffstat (limited to 'lib')
-rw-r--r--lib/container_registry/tag.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/container_registry/tag.rb b/lib/container_registry/tag.rb
index 708d01b95a1..59040199920 100644
--- a/lib/container_registry/tag.rb
+++ b/lib/container_registry/tag.rb
@@ -53,7 +53,7 @@ module ContainerRegistry
def config
return unless config_blob
- @config ||= ContainerRegistry::Config.new(self, config_blob)
+ @config ||= ContainerRegistry::Config.new(self, config_blob) if config_blob.data
end
def created_at