Skip to content

Commit

Permalink
cast not needed
Browse files Browse the repository at this point in the history
Signed-off-by: Derek Collison <derek@nats.io>
  • Loading branch information
derekcollison committed Nov 24, 2018
1 parent 684c9f4 commit 4e4a9ca
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions nats.go
Original file line number Diff line number Diff line change
Expand Up @@ -1425,9 +1425,8 @@ func (nc *Conn) connectProto() (string, error) {
token = nc.Opts.TokenHandler()
}

cinfo := connectInfo{o.Verbose, o.Pedantic, string(ujwt),
nkey, sig, user, pass, token, o.Secure, o.Name, LangString,
Version, clientProtoInfo, !o.NoEcho}
cinfo := connectInfo{o.Verbose, o.Pedantic, ujwt, nkey, sig, user, pass, token,
o.Secure, o.Name, LangString, Version, clientProtoInfo, !o.NoEcho}

b, err := json.Marshal(cinfo)
if err != nil {
Expand Down

0 comments on commit 4e4a9ca

Please sign in to comment.