mirror of https://github.com/hashicorp/consul
rpc: fix typos
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)
|
dir1, s1 := testServer(t)
|
||||||
defer os.RemoveAll(dir1)
|
defer os.RemoveAll(dir1)
|
||||||
defer s1.Shutdown()
|
defer s1.Shutdown()
|
||||||
|
|
|
@ -259,7 +259,7 @@ func TestServer_JoinSeparateLanAndWanAddresses(t *testing.T) {
|
||||||
r.Fatalf("got %d s2 LAN members want %d", got, want)
|
r.Fatalf("got %d s2 LAN members want %d", got, want)
|
||||||
}
|
}
|
||||||
if got, want := len(s3.LANMembers()), 2; 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
|
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() {
|
timer := time.AfterFunc(ttl, func() {
|
||||||
s.invalidateSession(id)
|
s.invalidateSession(id)
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue