Fix the issue while uploading the images

Change-Id: Ibd6f49e1fa82f811159c45b1ba915322e6f960c9
This commit is contained in:
Yichen Wang 2016-07-21 18:28:42 -07:00
parent 8bfe3f694a
commit 34b610c12f
1 changed files with 1 additions and 1 deletions

View File

@ -265,7 +265,7 @@ class KloudBuster(object):
self.tenants_list = {'server': None, 'client': None}
# TODO(check on same auth_url instead)
self.single_cloud = False if client_cred else True
if client_cred:
if not client_cred:
self.client_cred = server_cred
# Automatically enable the floating IP for server cloud under dual-cloud mode
if not self.single_cloud and not self.server_cfg['use_floatingip']: