rpc: fix typos

This commit is contained in:
Frank Schroeder 2017-06-26 14:22:09 +02:00 committed by Frank Schröder
parent 6a1ab1a2e0
commit 325637b6be
3 changed files with 3 additions and 3 deletions

View File

@ -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()

View File

@ -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)
}
})

View File

@ -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)
})