ovh / node-ovh

Node.js wrapper for the OVH APIs
http://ovh.github.io/node-ovh
Other
133 stars 27 forks source link

instance delete - runabove #2

Closed krzysztofantczak closed 9 years ago

krzysztofantczak commented 9 years ago

Hi,

It seems that runabove response to [DELETE] /1.0/instance/INSTANCE_ID is empty and that triggers following line of code: https://github.com/ovh/node-ovh/blob/master/lib/ovh.js#L591

gierschv commented 9 years ago

Hi @krzysztofantczak,

Thank you for this feedback. It seems that the RA API returns a content-type "application/json" with a 0 byte HTTP body instead of null. I'll check that with my colleagues at RunAbove and at the same time provide a fix for this case.

Cheers, Vincent

gierschv commented 9 years ago

Fix available in v1.1.3 (0013dc7cfd).

krzysztofantczak commented 9 years ago

Thanks ;-)