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

@@ -98,7 +98,7 @@ func DoHTTPCheck(url string, client HTTPGetInterface) (Status, error) {
}
// HealthCheck checks if the container is healthy by trying sending HTTP Get requests to the container.
func (h *HTTPHealthChecker) HealthCheck(podFullName string, currentState api.PodState, container api.Container) (Status, error) {
func (h *HTTPHealthChecker) HealthCheck(podFullName, podUUID string, currentState api.PodState, container api.Container) (Status, error) {
host, port, path, err := getURLParts(currentState, container)
if err != nil {
return Unknown, err