rpc: fix typos
This commit is contained in:
parent
6a1ab1a2e0
commit
325637b6be
|
@ -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