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, }, {