mirror of https://github.com/apache/cloudstack.git
Display proper gateway length in health check result (#6226)
The output always returns 1 since all gateways are present in one line but the actual output should be the number of gateways present in that line Co-authored-by: Rakesh Venkatesh <rakeshv@apache.org>
This commit is contained in:
parent
2b075ed39e
commit
d2aa13fd78
|
|
@ -44,7 +44,7 @@ def main():
|
|||
unreachableGateWays.append(gw)
|
||||
|
||||
if len(unreachableGateWays) == 0:
|
||||
print "All " + str(len(gws)) + " gateways are reachable via ping"
|
||||
print "All " + str(len(gwsList)) + " gateways are reachable via ping"
|
||||
exit(0)
|
||||
else:
|
||||
print "Unreachable gateways found-"
|
||||
|
|
|
|||
Loading…
Reference in New Issue