From aa75d5458d0f495a81f2e49450c4569e3902110e Mon Sep 17 00:00:00 2001 From: Bruce Lee Date: Mon, 27 Feb 2017 13:56:53 -0500 Subject: [PATCH] Revert "Ensure that we don't add balancees with no health check runs if there is a health check defined on it" This reverts commit ad12a7264e4b8aecf8d90a96a747101b5fa4871a. --- provider/marathon.go | 3 --- provider/marathon_test.go | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/provider/marathon.go b/provider/marathon.go index fa78ff03a..2e54248f3 100644 --- a/provider/marathon.go +++ b/provider/marathon.go @@ -264,9 +264,6 @@ func (provider *Marathon) taskFilter(task marathon.Task, applications *marathon. return false } } - } else { - log.Debugf("Filtering marathon task %s with defined healthcheck as no healthcheck has run yet", task.AppID) - return false } } return true diff --git a/provider/marathon_test.go b/provider/marathon_test.go index c4a5b5f98..3fe74b41e 100644 --- a/provider/marathon_test.go +++ b/provider/marathon_test.go @@ -629,7 +629,7 @@ func TestMarathonTaskFilter(t *testing.T) { }, }, }, - expected: false, + expected: true, exposedByDefault: true, }, {