From cd5015592aa083fc05cd97115a464f156361e835 Mon Sep 17 00:00:00 2001 From: Ying Li Date: Wed, 14 Oct 2015 14:52:31 -0700 Subject: [PATCH] Fix the key names for the server health checks Signed-off-by: Ying Li --- cmd/notary-server/main.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/notary-server/main.go b/cmd/notary-server/main.go index 9eb9c7dbb5..fc0f3ab43c 100644 --- a/cmd/notary-server/main.go +++ b/cmd/notary-server/main.go @@ -114,10 +114,10 @@ func main() { viper.GetString("trust_service.tls_ca_file"), ) health.RegisterPeriodicFunc( - "Key Manager Healthy", trust.(*signer.NotarySigner).KMHealth, + "Key manager operational", trust.(*signer.NotarySigner).KMHealth, time.Second*60) health.RegisterPeriodicFunc( - "Signer Healthy", trust.(*signer.NotarySigner).SHealth, + "Signer operational", trust.(*signer.NotarySigner).SHealth, time.Second*60) } else { logrus.Info("Using local signing service") @@ -133,7 +133,7 @@ func main() { return // not strictly needed but let's be explicit } health.RegisterPeriodicFunc( - "DB Operation", store.CheckHealth, time.Second*60) + "DB operational", store.CheckHealth, time.Second*60) ctx = context.WithValue(ctx, "metaStore", store) } else { logrus.Debug("Using memory backend")