lib/fog/compute/openstack/requests/get_key_pair.rb in fog-openstack-0.1.19 vs lib/fog/compute/openstack/requests/get_key_pair.rb in fog-openstack-0.1.20
- old
+ new
@@ -4,10 +4,10 @@
class Real
def get_key_pair(key_name)
request(
:expects => 200,
:method => 'GET',
- :path => "os-keypairs/#{key_name}"
+ :path => "os-keypairs/#{Fog::OpenStack.escape(key_name)}"
)
end
end
class Mock