Skip to content
This repository was archived by the owner on Dec 13, 2018. It is now read-only.

Commit ddb7776

Browse files
author
Feng Honglin
committed
Merge pull request #63 from docker/staging
1.4.2
2 parents 4f856dd + 64c0b5e commit ddb7776

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

haproxy/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "1.4"
1+
__version__ = "1.4.2"

haproxy/parser/base_parser.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,10 @@ def _merge_services_with_same_vhost(self):
2525
del self.details[service_alias]
2626

2727
for route in self.routes[service_alias]:
28-
self.routes[services_with_same_vhost[service_alias]].append(route)
28+
if services_with_same_vhost[service_alias] not in self. routes:
29+
self.routes[services_with_same_vhost[service_alias]] = [route]
30+
else:
31+
self.routes[services_with_same_vhost[service_alias]].append(route)
2932
del self.routes[service_alias]
3033

3134
vhosts = []

0 commit comments

Comments
 (0)