summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlos Goncalves <carlos.goncalves@neclab.eu>2016-07-21 22:26:32 +0200
committerCarlos Goncalves <carlos.goncalves@neclab.eu>2016-07-21 22:39:45 +0200
commit3bbf87252a5212fdeeebb0c895a6e190ce77b9f5 (patch)
tree91277838829804e786c56f78933ce92aa65b9036
parent5a189baf2f99032a0c28992fa47e372d5291c2d2 (diff)
Fix typo in monitor to correctly print IP address
Change-Id: I335cf82f3996359327d0cacfcdc53eda8a709f86 Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
-rw-r--r--tests/monitor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/monitor.py b/tests/monitor.py
index bc22b1ea..9e489865 100644
--- a/tests/monitor.py
+++ b/tests/monitor.py
@@ -31,7 +31,7 @@ class DoctorMonitorSample(object):
self.ip_addr = args.ip or socket.gethostbyname(self.hostname)
def start_loop(self):
- print "start ping to host %(h)s (ip=$(i)s)" % {'h': self.hostname,
+ print "start ping to host %(h)s (ip=%(i)s)" % {'h': self.hostname,
'i': self.ip_addr}
sock = socket.socket(socket.AF_INET, socket.SOCK_RAW,
socket.IPPROTO_ICMP)