From a8b66fb7aaee760b6b089ec1e0bc71f269a60832 Mon Sep 17 00:00:00 2001
From: Pierre Souchay
Date: Thu, 22 Mar 2018 10:30:05 +0100
Subject: [PATCH] Fixed minor typo in comments
Might fix unstable travis build
---
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 d40143de6..4b563cba9 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
}
-// updateAllServiceIndexesOfNode updates the status for all the services associated with this node
+// updateAllServiceIndexesOfNode updates the Raft index of 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 {