From b6914617d951f33a1c866cb981dc3779db73da13 Mon Sep 17 00:00:00 2001 From: Pierre Souchay Date: Mon, 19 Mar 2018 17:12:08 +0100 Subject: [PATCH] Fixed typo in comments --- agent/consul/state/catalog.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agent/consul/state/catalog.go b/agent/consul/state/catalog.go index b83265a037..d40143de6e 100644 --- a/agent/consul/state/catalog.go +++ b/agent/consul/state/catalog.go @@ -1086,7 +1086,7 @@ func (s *Store) EnsureCheck(idx uint64, hc *structs.HealthCheck) error { return nil } -// updateIndexForAllServicesOfNode updates the status for all the services associated with this node +// updateAllServiceIndexesOfNode updates the status for all the services associated with this node func (s *Store) updateAllServiceIndexesOfNode(tx *memdb.Txn, idx uint64, nodeID string) error { services, err := tx.Get("services", "node", nodeID) if err != nil {