From d01b126a77ab60fb0c05ace8f9bcace2865124e7 Mon Sep 17 00:00:00 2001 From: Sergio Rubio Date: Mon, 18 Mar 2013 15:22:21 +0100 Subject: [PATCH] [digitalocean|compute] fix create_ssh_key request path --- lib/fog/digitalocean/requests/compute/create_ssh_key.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fog/digitalocean/requests/compute/create_ssh_key.rb b/lib/fog/digitalocean/requests/compute/create_ssh_key.rb index c0900d671..b64b5e71c 100644 --- a/lib/fog/digitalocean/requests/compute/create_ssh_key.rb +++ b/lib/fog/digitalocean/requests/compute/create_ssh_key.rb @@ -7,7 +7,7 @@ module Fog request( :expects => [200], :method => 'GET', - :path => 'droplets/new', + :path => 'ssh_keys/new', :query => { 'name' => name, 'ssh_pub_key' => pub_key } ) end