fix panic caused by auth logger

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

No files matched your search

+1 -1
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
}