diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-05-17 13:20:11 -0500 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-05-17 13:20:11 -0500 |
commit | 24145592e804ffbe58a38b15095808919337d545 (patch) | |
tree | a3d4108b84bfab9f7813b982ce53fdd45d5306f4 /app/models | |
parent | a82109eee80bf703ad8e82de2410f490e5fc6d54 (diff) | |
download | gitlab-ce-24145592e804ffbe58a38b15095808919337d545.tar.gz |
Provide full test coverage to lib/container_registry API implementation
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/project.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/project.rb b/app/models/project.rb index 8e80a6b5c01..09a214da043 100644 --- a/app/models/project.rb +++ b/app/models/project.rb @@ -336,7 +336,7 @@ class Project < ActiveRecord::Base url = Gitlab.config.registry.api_url host_port = Gitlab.config.registry.host_port registry = ContainerRegistry::Registry.new(url, token: token, path: host_port) - registry[path_with_namespace] + registry.repository(path_with_namespace) end end |