Skip to content

Fix inconsistent behaviour of Container.inspect#344

Merged
apocas merged 1 commit intoapocas:masterfrom
knight42:fix-docker-inspect
Mar 13, 2017
Merged

Fix inconsistent behaviour of Container.inspect#344
apocas merged 1 commit intoapocas:masterfrom
knight42:fix-docker-inspect

Conversation

@knight42
Copy link
Copy Markdown
Contributor

container.inspect() is supposed to return a Promise not a stringified object

@apocas
Copy link
Copy Markdown
Owner

apocas commented Mar 12, 2017

Yup legacy pre-promise code left behind.

Could you please do the same for the other object's inspects? (image, network, etc)
So everything is consistent.

The modified methods are supposed to return a Promise if callback is
undefined
@knight42
Copy link
Copy Markdown
Contributor Author

@apocas done!

@apocas
Copy link
Copy Markdown
Owner

apocas commented Mar 13, 2017

Published v2.4.0

@knight42 knight42 deleted the fix-docker-inspect branch March 13, 2017 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants