Refactor HealthCheck to take podUUID arguments

PodState is going away (won't have podUUID anymore)
This commit is contained in:
Clayton Coleman
2014-10-08 11:19:46 -04:00
parent eea77a1449
commit 95cb2e3eb3
10 changed files with 17 additions and 17 deletions

View File

@@ -506,7 +506,7 @@ func TestSyncPodDeletesDuplicate(t *testing.T) {
type FalseHealthChecker struct{}
func (f *FalseHealthChecker) HealthCheck(podFullName string, state api.PodState, container api.Container) (health.Status, error) {
func (f *FalseHealthChecker) HealthCheck(podFullName, podUUID string, state api.PodState, container api.Container) (health.Status, error) {
return health.Unhealthy, nil
}