1
0
mirror of https://github.com/docker/docs.git synced 2026-11-05 00:14:17 +03:00

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

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
}