From e455a5327161728e87d8b214c0b31d9007d5e90a Mon Sep 17 00:00:00 2001 From: thompsa Date: Fri, 12 Mar 2010 17:43:00 +1300 Subject: Remove the 'status' from the backend pool and just show it disabled if no listeners are using it. --- config/haproxy-dev/haproxy.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/haproxy-dev/haproxy.inc') diff --git a/config/haproxy-dev/haproxy.inc b/config/haproxy-dev/haproxy.inc index 97a20faa..ed8da06d 100644 --- a/config/haproxy-dev/haproxy.inc +++ b/config/haproxy-dev/haproxy.inc @@ -245,7 +245,7 @@ function haproxy_find_acl($name) { } function write_backend($fd, $name, $pool, $frontend) { - if($pool['status'] != 'active' || !is_array($pool['ha_servers']['item'])) + if(!is_array($pool['ha_servers']['item'])) continue; fwrite ($fd, "backend " . $name . "\n"); -- cgit v1.2.3