fix a bug that it will display wrong messages when scale in the clusters.
This commit is contained in:
parent
113218b2c0
commit
b768de1345
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue