Fix some typos

Signed-off-by: mooncake <xcoder@tenxcloud.com>
This commit is contained in:
mooncake 2018-11-05 22:10:11 +08:00
parent 6b7f0f129b
commit 4b518ec03c
4 changed files with 4 additions and 4 deletions

View file

@ -177,7 +177,7 @@ func (cm *Controller) SetSSLExpireTime(servers []*ingress.Server) {
}
}
// RemoveMetrics removes metrics for hostames not available anymore
// RemoveMetrics removes metrics for hostnames not available anymore
func (cm *Controller) RemoveMetrics(hosts []string, registry prometheus.Gatherer) {
mfs, err := registry.Gather()
if err != nil {