append / to healthcheck url

This commit is contained in:
Prashanth Balasubramanian 2016-05-31 19:47:37 -07:00
parent 22c6e5ddd7
commit 9abd4e0ea6
2 changed files with 5 additions and 1 deletions

View file

@ -86,7 +86,7 @@ func (f *FakeHealthChecks) UpdateHttpHealthCheck(hc *compute.HttpHealthCheck) er
healthChecks := []*compute.HttpHealthCheck{}
found := false
for _, h := range f.hc {
if h.Name == name {
if h.Name == hc.Name {
healthChecks = append(healthChecks, hc)
found = true
} else {