mirror of https://github.com/status-im/consul.git
rpc: fix typos
This commit is contained in:
parent
7bbfef7000
commit
c803146550
|
@ -696,7 +696,7 @@ func TestCatalog_ListNodes_NodeMetaFilter(t *testing.T) {
|
|||
})
|
||||
}
|
||||
|
||||
func TestCatalog_ListNodes_StaleRaad(t *testing.T) {
|
||||
func TestCatalog_ListNodes_StaleRead(t *testing.T) {
|
||||
dir1, s1 := testServer(t)
|
||||
defer os.RemoveAll(dir1)
|
||||
defer s1.Shutdown()
|
||||
|
|
|
@ -259,7 +259,7 @@ func TestServer_JoinSeparateLanAndWanAddresses(t *testing.T) {
|
|||
r.Fatalf("got %d s2 LAN members want %d", got, want)
|
||||
}
|
||||
if got, want := len(s3.LANMembers()), 2; got != want {
|
||||
r.Fatalf("got %d s3 WAN members want %d", got, want)
|
||||
r.Fatalf("got %d s3 LAN members want %d", got, want)
|
||||
}
|
||||
})
|
||||
|
||||
|
|
|
@ -94,7 +94,7 @@ func (s *Server) resetSessionTimerLocked(id string, ttl time.Duration) {
|
|||
return
|
||||
}
|
||||
|
||||
// Create a new timer to track expiration of thi ssession
|
||||
// Create a new timer to track expiration of this ssession
|
||||
timer := time.AfterFunc(ttl, func() {
|
||||
s.invalidateSession(id)
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue