Merge pull request #2809 from smashwilson/unable-to-find-tenant

Rackspace: Only derive tenant ID if tenant name is supplied.
This commit is contained in:
Nathan LeClaire 2016-01-12 11:58:38 -08:00
commit 6cc068ee4a
1 changed files with 1 additions and 1 deletions

View File

@ -566,7 +566,7 @@ func (d *Driver) resolveIds() error {
})
}
if d.TenantId == "" {
if d.TenantName != "" && d.TenantId == "" {
if err := d.initIdentity(); err != nil {
return err
}