diff --git a/lib/fog/rackspace/requests/compute/get_server_details.rb b/lib/fog/rackspace/requests/compute/get_server_details.rb index 2967faa8d..6f0aaefce 100644 --- a/lib/fog/rackspace/requests/compute/get_server_details.rb +++ b/lib/fog/rackspace/requests/compute/get_server_details.rb @@ -37,7 +37,7 @@ module Fog def get_server_details(server_id) response = Excon::Response.new - if server = list_servers_detail.body['servers'].detect {|_| _['id'] == server_id} + if server = list_servers_detail.body['servers'].detect {|_| _['id'].to_s == server_id.to_s} response.status = [200, 203][rand(1)] response.body = { 'server' => server } response