Fixed cap mistake in comment

Signed-off-by: Derek Collison <derek@nats.io>
This commit is contained in:
Derek Collison
2023-05-12 15:07:00 -07:00
parent c5eb46cb06
commit 0c13f174c0

View File

@@ -5323,7 +5323,7 @@ func (c *client) doTLSHandshake(typ string, solicit bool, url *url.URL, tlsConfi
return false, err
}
// getRAwAuthUserLock returns the raw auth user for the client.
// getRawAuthUserLock returns the raw auth user for the client.
// Will acquire the client lock.
func (c *client) getRawAuthUserLock() string {
c.mu.Lock()
@@ -5331,7 +5331,7 @@ func (c *client) getRawAuthUserLock() string {
return c.getRawAuthUser()
}
// getRAwAuthUser returns the raw auth user for the client.
// getRawAuthUser returns the raw auth user for the client.
// Lock should be held.
func (c *client) getRawAuthUser() string {
switch {