AgustinCB / docker-api

Docker Remote API driver for node.js. It uses the same modem than dockerode, but the interface is promisified and with a fancier syntax.
GNU General Public License v3.0
306 stars 50 forks source link

allow parameters with container.kill() #2

Closed jinxidoru closed 8 years ago

jinxidoru commented 8 years ago

I was needing to use the kill command with the query parameter {signal:"HUP"}, but the query parameters in opts were not being forwarded over. This seems to make it work, though I'm not certain if I did it right. Let me know.

And thanks for making this available. It has been really helpful.

AgustinCB commented 8 years ago

That's actually the perfect fix for it. Thank you so much for the support. I'm merging it with master and publishing a new version.