Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Default argument for the authenticate! method references itself
  • Loading branch information
jsternberg committed Dec 27, 2014
1 parent 89ff96d commit 7e92801
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/docker.rb
Expand Up @@ -100,7 +100,7 @@ def info(connection = self.connection)
end

# Login to the Docker registry.
def authenticate!(options = {}, connection = connection)
def authenticate!(options = {}, connection = self.connection)
creds = options.to_json
connection.post('/auth', {}, :body => creds)
@creds = creds
Expand Down

0 comments on commit 7e92801

Please sign in to comment.