From 3bbf87252a5212fdeeebb0c895a6e190ce77b9f5 Mon Sep 17 00:00:00 2001 From: Carlos Goncalves Date: Thu, 21 Jul 2016 22:26:32 +0200 Subject: Fix typo in monitor to correctly print IP address Change-Id: I335cf82f3996359327d0cacfcdc53eda8a709f86 Signed-off-by: Carlos Goncalves --- tests/monitor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit 1.2.3-korg