Adding compatibility for marathon 1.5
This commit is contained in:
parent
461ebf6d88
commit
04d8b5d483
35 changed files with 2257 additions and 63 deletions
5
vendor/github.com/gambol99/go-marathon/task.go
generated
vendored
5
vendor/github.com/gambol99/go-marathon/task.go
generated
vendored
|
|
@ -186,7 +186,10 @@ func (r *marathonClient) TaskEndpoints(name string, port int, healthCheck bool)
|
|||
// step: we need to get the port index of the service we are interested in
|
||||
portIndex, err := application.Container.Docker.ServicePortIndex(port)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
portIndex, err = application.Container.ServicePortIndex(port)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
}
|
||||
|
||||
// step: do we have any tasks?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue