mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[openstack] Ensure String Username for Authentication
When username is composed of only integers, openstack raises a ProgrammingError when trying to authenticate user. Signed-off-by: Nelvin Driz <nelvindriz@live.com>
This commit is contained in:
parent
ccb633f899
commit
ad2e1c4027
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ module Fog
|
|||
req_body = {
|
||||
'auth' => {
|
||||
'passwordCredentials' => {
|
||||
'username' => @openstack_username,
|
||||
'username' => @openstack_username.to_s,
|
||||
'password' => @openstack_api_key.to_s
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue