typo in my ping call
This commit is contained in:
+1
-1
@@ -47,7 +47,7 @@ class VpnCommands(object):
|
||||
|
||||
vpn = self.__vpn_for(project.id)
|
||||
if vpn:
|
||||
out, err = utils.execute("ping -c1 -w1 %s > /dev/null; echo $?", vpn['private_dns_name'])
|
||||
out, err = utils.execute("ping -c1 -w1 %s > /dev/null; echo $?" % vpn['private_dns_name'])
|
||||
if out.strip() == '0':
|
||||
net = 'up'
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user