@@ -24,7 +24,7 @@ const (
2424 RenewSessionRetryMax = 5
2525
2626 // MaxSessionDestroyAttempts is the maximum times we will try
27- // to explicitely destroy the session attached to a lock after
27+ // to explicitly destroy the session attached to a lock after
2828 // the connectivity to the store has been lost
2929 MaxSessionDestroyAttempts = 5
3030
@@ -429,7 +429,7 @@ func (s *Consul) NewLock(key string, options *store.LockOptions) (store.Locker,
429429}
430430
431431// renewLockSession is used to renew a session Lock, it takes
432- // a stopRenew chan which is used to explicitely stop the session
432+ // a stopRenew chan which is used to explicitly stop the session
433433// renew process. The renew routine never stops until a signal is
434434// sent to this channel. If deleting the session fails because the
435435// connection to the store is lost, it keeps trying to delete the
@@ -449,7 +449,7 @@ func (s *Consul) renewLockSession(initialTTL string, id string, stopRenew chan s
449449 entry , _ , err := s .client .Session ().Renew (id , nil )
450450 if err != nil {
451451 // If an error occurs, continue until the
452- // session gets destroyed explicitely or
452+ // session gets destroyed explicitly or
453453 // the session ttl times out
454454 continue
455455 }
0 commit comments