diff --git a/provider/marathon.go b/provider/marathon.go index 0967254f8..bef3d7633 100644 --- a/provider/marathon.go +++ b/provider/marathon.go @@ -234,9 +234,6 @@ func taskFilter(task marathon.Task, applications *marathon.Applications, exposed return false } } - } else { - log.Debugf("Filtering marathon task %s with bad healthcheck", task.AppID) - return false } } return true diff --git a/provider/marathon_test.go b/provider/marathon_test.go index a9ac67afb..af47a23bf 100644 --- a/provider/marathon_test.go +++ b/provider/marathon_test.go @@ -5,6 +5,7 @@ import ( "testing" "errors" + "github.com/containous/traefik/mocks" "github.com/containous/traefik/types" "github.com/gambol99/go-marathon" @@ -324,7 +325,7 @@ func TestMarathonTaskFilter(t *testing.T) { }, }, }, - expected: false, + expected: true, exposedByDefault: true, }, {