From 8c1450bcb05f2e03b7dfc50afd8a9c9b40a153ba Mon Sep 17 00:00:00 2001 From: Pedro Dias Date: Wed, 20 May 2015 00:53:12 +0100 Subject: [PATCH] pull auth fix --- lib/docker.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/docker.js b/lib/docker.js index 6be66b6..36e5d10 100644 --- a/lib/docker.js +++ b/lib/docker.js @@ -46,7 +46,7 @@ Docker.prototype.createImage = function(auth, opts, callback) { if (!callback && typeof opts === 'function') { callback = opts; opts = auth; - auth = undefined; + auth = opts.authconfig || undefined; } var self = this; diff --git a/package.json b/package.json index 75fb35c..56504fd 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "dockerode", "description": "Docker Remote API module.", - "version": "2.1.3", + "version": "2.1.4", "author": "Pedro Dias ", "maintainers": [ "apocas "