Upgrade go-marathon to 15ea23e.
Our vendored copy contains a bug that causes unavailable Marathon nodes to never be marked as available again due to a misconstruction in the URL to the Marathon health check / ping endpoint used by go-marathon internally. A fix[1] has been published. [1]https://github.com/gambol99/go-marathon/pull/283
This commit is contained in:
parent
2e762e76f3
commit
219a6372b0
10 changed files with 126 additions and 72 deletions
4
vendor/github.com/gambol99/go-marathon/queue.go
generated
vendored
4
vendor/github.com/gambol99/go-marathon/queue.go
generated
vendored
|
@ -51,8 +51,8 @@ func (r *marathonClient) Queue() (*Queue, error) {
|
|||
// DeleteQueueDelay resets task launch delay of the specific application
|
||||
// appID: the ID of the application
|
||||
func (r *marathonClient) DeleteQueueDelay(appID string) error {
|
||||
uri := fmt.Sprintf("%s/%s/delay", marathonAPIQueue, trimRootPath(appID))
|
||||
err := r.apiDelete(uri, nil, nil)
|
||||
path := fmt.Sprintf("%s/%s/delay", marathonAPIQueue, trimRootPath(appID))
|
||||
err := r.apiDelete(path, nil, nil)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue