mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
remove www subdomain from digital ocean ssh-key links
This commit is contained in:
parent
10841af9d2
commit
9e568dcd7f
2 changed files with 3 additions and 3 deletions
|
@ -5,7 +5,7 @@ module Fog
|
|||
#
|
||||
# Delete a SSH public key from your account
|
||||
#
|
||||
# @see https://www.developers.digitalocean.com/ssh-keys
|
||||
# @see https://developers.digitalocean.com/ssh-keys
|
||||
#
|
||||
def destroy_ssh_key(id)
|
||||
request(
|
||||
|
|
|
@ -6,7 +6,7 @@ module Fog
|
|||
# This method shows a specific public SSH key in your account
|
||||
# that can be added to a droplet.
|
||||
#
|
||||
# @see https://www.developers.digitalocean.com/ssh-keys
|
||||
# @see https://developers.digitalocean.com/ssh-keys
|
||||
#
|
||||
def get_ssh_key(id)
|
||||
request(
|
||||
|
@ -24,7 +24,7 @@ module Fog
|
|||
response.body = {
|
||||
"status" => "OK",
|
||||
# key listing does not return ssh_pub_key
|
||||
# https://www.developers.digitalocean.com/ssh-keys
|
||||
# https://developers.digitalocean.com/ssh-keys
|
||||
"ssh_key" => self.data[:ssh_keys].find { |k| k['id'] == id }
|
||||
}
|
||||
response
|
||||
|
|
Loading…
Reference in a new issue