1
0
Fork 0

Merge 'v1.5.0-rc2' into master

This commit is contained in:
Fernandez Ludovic 2017-12-06 20:24:46 +01:00
commit 260ee980e0
8 changed files with 119 additions and 40 deletions

View file

@ -64,6 +64,9 @@ func healthCheck(globalConfiguration configuration.GlobalConfiguration) (*http.R
}
client.Transport = tr
}
return client.Head(protocol + "://" + pingEntryPoint.Address + globalConfiguration.Web.Path + "ping")
path := "/"
if globalConfiguration.Web != nil {
path = globalConfiguration.Web.Path
}
return client.Head(protocol + "://" + pingEntryPoint.Address + path + "ping")
}