Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update linodeius.js #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update linodeius.js #3

wants to merge 1 commit into from

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