pkgcloud / pkgcloud

pkgcloud is a standard library for node.js that abstracts away differences among multiple cloud providers.
http://github.com/pkgcloud/pkgcloud
MIT License
1.18k stars 373 forks source link

Rackspace getNodes(): TypeError: Url must be a string. Received 123456 #679

Open henkesteen opened 4 years ago

henkesteen commented 4 years ago

This code is broken in the current version: https://github.com/pkgcloud/pkgcloud/blob/master/lib/pkgcloud/rackspace/loadbalancer/client/nodes.js#L29-L33

The url-join package wants strings only it seems. When I stringify the loadbalancer id it works.

Please fix this.