rename healthz methodNames to be more consistent w/ present day usages

This commit is contained in:
Han Kang
2019-08-13 12:42:13 -07:00
parent f2c82f49e8
commit 2e23788fda
15 changed files with 60 additions and 60 deletions

View File

@@ -170,7 +170,7 @@ func Run(c *config.CompletedConfig, stopCh <-chan struct{}) error {
}
// Setup any healthz checks we will want to use.
var checks []healthz.HealthzChecker
var checks []healthz.HealthChecker
var electionChecker *leaderelection.HealthzAdaptor
if c.ComponentConfig.Generic.LeaderElection.LeaderElect {
electionChecker = leaderelection.NewLeaderHealthzAdaptor(time.Second * 20)