diff options
Diffstat (limited to 'lib/container_registry/registry.rb')
-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 |