mirror of
https://github.com/thegeeklab/drone-plugin-lib.git
synced 2024-11-24 13:40:38 +00:00
Format code
This commit is contained in:
parent
c5ec06ee53
commit
1304e6261a
@ -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,
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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")
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user