~mdw
/
tripe
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
498d9f4
)
svc/conntrack.in: Iterate over the output of `svcsubmit'.
author
Mark Wooding
<mdw@distorted.org.uk>
Fri, 29 Sep 2017 00:20:09 +0000
(
01:20
+0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Thu, 14 Jun 2018 09:34:25 +0000
(10:34 +0100)
This forces out exceptions caused by command failures which were
otherwise being dropped.
svc/conntrack.in
patch
|
blob
|
blame
|
history
diff --git
a/svc/conntrack.in
b/svc/conntrack.in
index
172ca1f
..
7379303
100644
(file)
--- a/
svc/conntrack.in
+++ b/
svc/conntrack.in
@@
-321,7
+321,7
@@
def kickpeers():
if want is not None and not found:
def _(want = want):
try:
-
SM.svcsubmit('connect', 'active', want
)
+
list(SM.svcsubmit('connect', 'active', want)
)
except T.TripeError, exc:
SM.warn('conntrack', 'connect-failed', want, *exc.args)
if T._debug: print '# peer %s: bring up' % want