fix panic caused by auth logger

This commit is contained in:
ginuerzh
2022-09-03 16:26:52 +08:00
parent 6546f4a905
commit 00e4ece170
2 changed files with 8 additions and 4 deletions

View File

@ -23,7 +23,7 @@ type options struct {
type Option func(opts *options)
func AuthsPeriodOption(auths map[string]string) Option {
func AuthsOption(auths map[string]string) Option {
return func(opts *options) {
opts.auths = auths
}