Skip to content

Rackspace compute client.getFlavor('flavorId', callback) #292

@rdodev

Description

@rdodev

Using latest version of pkgcloud, fresh downloaded from npm.

client.getFlavor('performance2-15', function (err, flav) { //id was taken from getFlavors()
  if (!err) {
    console.dir(flav);
  }
  else {
    console.log(err);
  }
});

for any valid flavorId for that region is returning the following error:
[Error: Unexpected empty response]

if I put an incorrect flavorId, returns a 404, which is expected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions