chore: upgrade logrus
to 1.9.3 and its Graylog hook to 3.2.1
This commit is contained in:
parent
f7e892ef81
commit
245c79ed9c
2 changed files with 5 additions and 5 deletions
8
go.mod
8
go.mod
|
@ -4,17 +4,17 @@ go 1.17
|
|||
|
||||
require (
|
||||
github.com/asaskevich/govalidator v0.0.0-20210307081110-f21760c49a8d
|
||||
github.com/gemnasium/logrus-graylog-hook/v3 v3.0.3
|
||||
github.com/gemnasium/logrus-graylog-hook/v3 v3.2.1
|
||||
github.com/go-ldap/ldap/v3 v3.4.1
|
||||
github.com/karrick/golf v1.4.0
|
||||
github.com/sirupsen/logrus v1.8.1
|
||||
github.com/sirupsen/logrus v1.9.3
|
||||
gopkg.in/yaml.v2 v2.4.0
|
||||
)
|
||||
|
||||
require (
|
||||
github.com/Azure/go-ntlmssp v0.0.0-20200615164410-66371956d46c // indirect
|
||||
github.com/go-asn1-ber/asn1-ber v1.5.1 // indirect
|
||||
github.com/pkg/errors v0.8.1 // indirect
|
||||
github.com/pkg/errors v0.9.1 // indirect
|
||||
golang.org/x/crypto v0.0.0-20200604202706-70a84ac30bf9 // indirect
|
||||
golang.org/x/sys v0.0.0-20191026070338-33540a1f6037 // indirect
|
||||
golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8 // indirect
|
||||
)
|
||||
|
|
2
ldap.go
2
ldap.go
|
@ -51,7 +51,7 @@ func (conn *tLdapConn) BaseDN() string {
|
|||
// Establish a connection to a LDAP server
|
||||
func getLdapServerConnection(cfg tLdapConfig, server int) *tLdapConn {
|
||||
if server < 0 || server >= len(cfg.Servers) {
|
||||
logrus.Panic("Invalid server index %d", server)
|
||||
logrus.Panicf("Invalid server index %d", server)
|
||||
}
|
||||
|
||||
scfg := cfg.Servers[server]
|
||||
|
|
Loading…
Reference in a new issue