Skip to content

Commit

Permalink
Set the "type" attribute to change_kernel
Browse files Browse the repository at this point in the history
  • Loading branch information
avagin committed Aug 15, 2014
1 parent 602b4f4 commit 1e7ed4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion digitalocean/Droplet.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ def change_kernel(self, kernel):
return self.get_data(
"droplets/%s/actions/" % self.id,
type="POST",
params={'kernel': kernel.id}
params={'type' : 'change_kernel', 'kernel': kernel.id}
)

def create(self, ssh_keys=None, backups=False, ipv6=False, private_networking=False):
Expand Down

0 comments on commit 1e7ed4e

Please sign in to comment.