node-docker-api
Advanced tools
Comparing version 1.1.11 to 1.1.12
@@ -107,2 +107,3 @@ 'use strict'; | ||
options: opts, | ||
isStream: true, | ||
statusCodes: { | ||
@@ -118,6 +119,6 @@ 101: true, | ||
return new Promise((resolve, reject) => { | ||
this.modem.dial(call, (err, res) => { | ||
this.modem.dial(call, (err, logs) => { | ||
if (err) | ||
return reject(err); | ||
resolve(res); | ||
resolve(logs); | ||
}); | ||
@@ -124,0 +125,0 @@ }); |
{ | ||
"name": "node-docker-api", | ||
"version": "1.1.11", | ||
"version": "1.1.12", | ||
"description": "Docker Remote API driver for node", | ||
@@ -5,0 +5,0 @@ "main": "./lib/docker", |
@@ -117,2 +117,3 @@ 'use strict' | ||
options: opts, | ||
isStream: true, | ||
statusCodes: { | ||
@@ -129,5 +130,5 @@ 101: true, | ||
return new Promise((resolve, reject) => { | ||
this.modem.dial(call, (err, res: String) => { | ||
this.modem.dial(call, (err, logs) => { | ||
if (err) return reject(err) | ||
resolve(res) | ||
resolve(logs) | ||
}) | ||
@@ -134,0 +135,0 @@ }) |
@@ -111,3 +111,3 @@ import test from 'ava' | ||
const res = await (await createService()).logs({stdout: true}) | ||
t.is(res.constructor, String) | ||
t.truthy(res.pipe) | ||
}) | ||
@@ -114,0 +114,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1396642
8597