From 09954eee5c5a6bc5746607f01c1d8024861de279 Mon Sep 17 00:00:00 2001 From: Guangming Wang Date: Thu, 15 Aug 2019 22:12:57 +0800 Subject: [PATCH] cleanup: fix word errors in errors.go Signed-off-by: Guangming Wang --- server/errors.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/errors.go b/server/errors.go index e5db4f42..f12903e6 100644 --- a/server/errors.go +++ b/server/errors.go @@ -40,14 +40,14 @@ var ( // ErrReservedPublishSubject represents an error condition when sending to a reserved subject, e.g. _SYS.> ErrReservedPublishSubject = errors.New("reserved internal subject") - // ErrBadClientProtocol signals a client requested an invalud client protocol. + // ErrBadClientProtocol signals a client requested an invalid client protocol. ErrBadClientProtocol = errors.New("invalid client protocol") // ErrTooManyConnections signals a client that the maximum number of connections supported by the // server has been reached. ErrTooManyConnections = errors.New("maximum connections exceeded") - // ErrTooManyAccountConnections signals that an acount has reached its maximum number of active + // ErrTooManyAccountConnections signals that an account has reached its maximum number of active // connections. ErrTooManyAccountConnections = errors.New("maximum account active connections exceeded")