Merge pull request #1565 from mjschultz/welex91
Ensure that port_path is split into at most 2 components.
This commit is contained in:
commit
9aac5784d3
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue