Permalink
Browse files

correcting <li> for varnish 2.x backend results

  • Loading branch information...
1 parent eabe7e7 commit 9b790ef5876eff514b1975eefe58a69364674808 @huayra committed Apr 5, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 statusbackend.py
View
@@ -91,8 +91,7 @@ def parse_backends(inputdict):
def prepare_backendstring(backends):
"should be put into js real soon now."
if len(backends) == 0:
- return "<li>No backends seen in varnishstat</li>"
- return "<li>(Expected behaviour in Varnish 2.x)</li>"
+ return "<li>No backends seen in varnishstat</li><li>(Expected behaviour in Varnish 2.x)</li>"
r = ["<ul>"]
for key, backend in backends.items():
s = "<li>%s (%s:%s)" % (backend["name"], backend["IPv4"], backend["port"])

0 comments on commit 9b790ef

Please sign in to comment.