From b5edd9f476140d96ae25925c9dde5774aa4bdaac Mon Sep 17 00:00:00 2001 From: Bohuslav Kabrda Date: Mon, 2 Jul 2012 10:56:27 +0200 Subject: [PATCH] Must use values, so that connection.list_roles gets corrent argument. --- lib/fog/openstack/requests/identity/list_roles.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fog/openstack/requests/identity/list_roles.rb b/lib/fog/openstack/requests/identity/list_roles.rb index 00f53b105..bdb2da682 100644 --- a/lib/fog/openstack/requests/identity/list_roles.rb +++ b/lib/fog/openstack/requests/identity/list_roles.rb @@ -17,7 +17,7 @@ module Fog def list_roles Excon::Response.new( - :body => { 'roles' => self.data[:roles] }, + :body => { 'roles' => self.data[:roles].values }, :status => 200 ) end