Skip to content

Conversation

@NTShop
Copy link

@NTShop NTShop commented May 29, 2017

Adding the ability to pass parameters into linode API calls.

Adding the ability to pass parameters into linode API calls
@NTShop
Copy link
Author

NTShop commented May 29, 2017

I discovered that something like cloning a node requires specific parameters, but when I try to pass some in there go unused. For example this doesn't work, the API call fails saying that LINODEID is required. With the change I made in the pull request it appears to work.

linode.linode.clone( { 'LINODEID':'123', 'DATACENTER':2, 'PLANID':1 } ).then( function( res ) {
    // do something here
})

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.

1 participant