Code Review
/
doctor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
5a189ba
)
Fix typo in monitor to correctly print IP address
77/17377/2
author
Carlos Goncalves
<carlos.goncalves@neclab.eu>
Thu, 21 Jul 2016 20:26:32 +0000
(22:26 +0200)
committer
Carlos Goncalves
<carlos.goncalves@neclab.eu>
Thu, 21 Jul 2016 20:39:45 +0000
(22:39 +0200)
Change-Id: I335cf82f3996359327d0cacfcdc53eda8a709f86
Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
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)