fix a bug that it will display wrong messages when scale in the clusters.

This commit is contained in:
Firmlyzhu 2018-01-21 18:43:01 +08:00
parent 113218b2c0
commit b768de1345
1 changed files with 1 additions and 1 deletions

View File

@ -327,7 +327,7 @@ class VclusterMgr(object):
clusterfile.write(json.dumps(clusterinfo))
clusterfile.close()
else:
return [False,"No port mapping."]
return [True,"No port mapping."]
if error_msg is not None:
return [False,error_msg]
else: