diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-05-09 23:32:18 +0300 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-05-09 23:32:18 +0300 |
commit | d05f0030a3de42ab3ec6d8c8be290b74698bb929 (patch) | |
tree | 38923a9eb972aa6708f51f10d52b3a4fb8f9a009 /lib | |
parent | d5d8e76bd79cd9d61c66539a5069104cf46be2bd (diff) | |
download | gitlab-ce-d05f0030a3de42ab3ec6d8c8be290b74698bb929.tar.gz |
Added Docker Registry View tests
Diffstat (limited to 'lib')
-rw-r--r-- | lib/container_registry/client.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/container_registry/client.rb b/lib/container_registry/client.rb index 41d9cb46ae9..0bfb6baffd4 100644 --- a/lib/container_registry/client.rb +++ b/lib/container_registry/client.rb @@ -10,7 +10,7 @@ module ContainerRegistry def initialize(base_uri, options = {}) @base_uri = base_uri @faraday = Faraday.new(@base_uri) do |conn| - initialize_connection(conn) + initialize_connection(conn, options) end end @@ -51,7 +51,7 @@ module ContainerRegistry private - def initialize_connection(conn) + def initialize_connection(conn, options) conn.request :json conn.headers['Accept'] = MANIFEST_VERSION |