Code Review
/
doctor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
(from parent 1:
6f510ba
)
Merge "Fix typo in monitor to correctly print IP address"
author
Ryota Mibu
<r-mibu@cq.jp.nec.com>
Fri, 22 Jul 2016 12:33:57 +0000
(12:33 +0000)
committer
Gerrit Code Review
<gerrit@172.30.200.206>
Fri, 22 Jul 2016 12:33:57 +0000
(12:33 +0000)
tests/monitor.py
patch
|
blob
|
history
diff --git
a/tests/monitor.py
b/tests/monitor.py
index
bc22b1e
..
9e48986
100644
(file)
--- 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)