Fixed typo in comments

This commit is contained in:
Pierre Souchay 2018-03-19 17:12:08 +01:00
parent 5e974843f1
commit b6914617d9
1 changed files with 1 additions and 1 deletions

View File

@ -1086,7 +1086,7 @@ func (s *Store) EnsureCheck(idx uint64, hc *structs.HealthCheck) error {
return nil 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 { func (s *Store) updateAllServiceIndexesOfNode(tx *memdb.Txn, idx uint64, nodeID string) error {
services, err := tx.Get("services", "node", nodeID) services, err := tx.Get("services", "node", nodeID)
if err != nil { if err != nil {