Format code

This commit is contained in:
Don 2020-09-10 13:06:29 -07:00
parent c5ec06ee53
commit 1304e6261a
2 changed files with 8 additions and 8 deletions

View File

@ -48,7 +48,7 @@ func ExitMessage(message interface{}) ExitError {
func ExitMessagef(format string, a ...interface{}) ExitError {
return ExitError{
message: fmt.Errorf(format, a...),
code: 1,
code: 1,
}
}

View File

@ -84,13 +84,13 @@ func HTTP(ctx context.Context) context.Context {
TLSHandshakeDone: func(cs tls.ConnectionState, err error) {
logrus.WithFields(logrus.Fields{
"version": cs.Version,
"handshake-complete": cs.HandshakeComplete,
"did-resume": cs.DidResume,
"cipher-suite": cs.CipherSuite,
"negotiated-protocol": cs.NegotiatedProtocol,
"server-name": cs.ServerName,
"error": err,
"version": cs.Version,
"handshake-complete": cs.HandshakeComplete,
"did-resume": cs.DidResume,
"cipher-suite": cs.CipherSuite,
"negotiated-protocol": cs.NegotiatedProtocol,
"server-name": cs.ServerName,
"error": err,
}).Trace("ClientTrace.TLSHandshakeDone")
},