diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-05-16 17:49:55 +0300 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-05-16 17:49:55 +0300 |
commit | e60bbdf9d9609fd0624be61dcf8a3a0432040ad1 (patch) | |
tree | 7a7e14d3f047e98b88e0dd11217e0ccd474d166e | |
parent | 5b3ac8c83f19bfa8b897f307c056c521fd1d052a (diff) |
Fix path to tag
-rw-r--r-- | lib/container_registry/registry.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/container_registry/registry.rb b/lib/container_registry/registry.rb index a86ddb9326a..d3b117eeaca 100644 --- a/lib/container_registry/registry.rb +++ b/lib/container_registry/registry.rb @@ -3,7 +3,7 @@ module ContainerRegistry attr_reader :uri, :client, :path def initialize(uri, options = {}) - @path = uri || options[:path] + @path = options[:path] || uri @uri = URI.parse(uri) @client = ContainerRegistry::Client.new(uri, options) end |