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 ad12a7264e.
This commit is contained in:
Bruce Lee 2017-02-27 13:56:53 -05:00 committed by Emile Vauge
parent 4172a7c62e
commit aa75d5458d
No known key found for this signature in database
GPG key ID: D808B4C167352E59
2 changed files with 1 additions and 4 deletions

View file

@ -264,9 +264,6 @@ func (provider *Marathon) taskFilter(task marathon.Task, applications *marathon.
return false return false
} }
} }
} else {
log.Debugf("Filtering marathon task %s with defined healthcheck as no healthcheck has run yet", task.AppID)
return false
} }
} }
return true return true

View file

@ -629,7 +629,7 @@ func TestMarathonTaskFilter(t *testing.T) {
}, },
}, },
}, },
expected: false, expected: true,
exposedByDefault: true, exposedByDefault: true,
}, },
{ {