From 1a4908703c76a1cf731b36d2802f82adfc97c4d5 Mon Sep 17 00:00:00 2001 From: Nelvin Driz Date: Sun, 1 Apr 2012 21:00:01 +0800 Subject: [PATCH] [openstack|compute] Fix Bug on Key Pair Mock Signed-off-by: Nelvin Driz --- lib/fog/openstack/requests/compute/list_key_pairs.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/fog/openstack/requests/compute/list_key_pairs.rb b/lib/fog/openstack/requests/compute/list_key_pairs.rb index 3e0d96d10..043ea106b 100644 --- a/lib/fog/openstack/requests/compute/list_key_pairs.rb +++ b/lib/fog/openstack/requests/compute/list_key_pairs.rb @@ -26,11 +26,12 @@ module Fog "keypairs" => [{ "keypair" => { "public_key" => "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQDCdAZLjln1tJbLVVkNHjWFSoKen2nZbk39ZfqhZJOMdeFdz02GWBS4rcuHboeGg/gozKRwsLu4N6NLPlYtbK/NapJIvgO/djBp+FG1QZNtLPsx7j4hVJac3yISGms+Xtu4cEv6j5sFDzAgTQbWz0Z1+9qOq9ngdaoW+YClfQ== vagrant@nova\n", - "name" => "test_key", + "name" => "test_key", "fingerprint" => "97:86:f4:15:68:0c:7b:a7:e5:8f:f0:bd:1f:27:65:ad" } }] } + response end end # mock end # openstack