diff options
author | Ryota Mibu <r-mibu@cq.jp.nec.com> | 2016-07-22 12:33:57 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2016-07-22 12:33:57 +0000 |
commit | 276973045d93be298f3daafc39b976c5c1d06cf7 (patch) | |
tree | 293f1201e43f0add40644a3e14634f5ae16abef1 /tests | |
parent | 6f510bab7302c22680cdead42e99fd623d4679f7 (diff) | |
parent | 3bbf87252a5212fdeeebb0c895a6e190ce77b9f5 (diff) |
Merge "Fix typo in monitor to correctly print IP address"
Diffstat (limited to 'tests')
-rw-r--r-- | tests/monitor.py | 2 |
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) |