1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

Merge pull request #1213 from Keoven/fix/ensure-username-is-string

[openstack] Ensure String Username for Authentication
This commit is contained in:
Wesley Beary 2012-10-18 08:22:16 -07:00
commit a48432a3db

View file

@ -95,7 +95,7 @@ module Fog
req_body = { req_body = {
'auth' => { 'auth' => {
'passwordCredentials' => { 'passwordCredentials' => {
'username' => @openstack_username, 'username' => @openstack_username.to_s,
'password' => @openstack_api_key.to_s 'password' => @openstack_api_key.to_s
} }
} }