diff --git a/lib/fog/digitalocean/requests/compute/list_ssh_keys.rb b/lib/fog/digitalocean/requests/compute/list_ssh_keys.rb index dd34ce208..cec1c65c0 100644 --- a/lib/fog/digitalocean/requests/compute/list_ssh_keys.rb +++ b/lib/fog/digitalocean/requests/compute/list_ssh_keys.rb @@ -20,9 +20,7 @@ module Fog response.status = 200 response.body = { "status" => "OK", - # key listing does not return ssh_pub_key - # https://www.digitalocean.com/api#ssh_keys - "ssh_keys" => self.data[:ssh_keys].map { |k| k.delete('ssh_pub_key'); k } + "ssh_keys" => self.data[:ssh_keys] } response end