From 2ab950667e68fdcd178484ed485616228d5bb932 Mon Sep 17 00:00:00 2001 From: Philip Cristiano Date: Sat, 23 Apr 2022 11:27:33 -0400 Subject: [PATCH] consul: healcheck -> healthcheck --- controller/consul.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/controller/consul.go b/controller/consul.go index 43fdbb7..5f53cc7 100644 --- a/controller/consul.go +++ b/controller/consul.go @@ -146,7 +146,7 @@ func (c *ConsulMon) healthCheckLocal(service string) (bool, error) { return false, nil } } - return false, fmt.Errorf("No local healcheck info found for service %s on node %s in consul", service, c.node) + return false, fmt.Errorf("No local healthcheck info found for service %s on node %s in consul", service, c.node) } // healthCheckRemote queries the consul cluster's healthcheck endpoint to perform service healthchecks @@ -174,7 +174,7 @@ func (c *ConsulMon) healthCheckRemote(service string) (bool, error) { return false, nil } } - return false, fmt.Errorf("No healcheck info found for node %s in consul", c.node) + return false, fmt.Errorf("No healthcheck info found for node %s in consul", c.node) } // healthCheck determines if we should use the local agent