Merge pull request #1565 from mjschultz/welex91

Ensure that port_path is split into at most 2 components.
reviewable/pr18780/r1
Brian Coca 9 years ago
commit 9aac5784d3

@ -112,7 +112,7 @@ def get_elb_listeners(listeners):
def get_health_check(health_check):
protocol, port_path = health_check.target.split(':')
try:
port, path = port_path.split('/')
port, path = port_path.split('/', 1)
path = '/{}'.format(path)
except ValueError:
port = port_path

Loading…
Cancel
Save