router: update system routes for linux

This commit is contained in:
ginuerzh
2023-11-30 19:39:37 +08:00
parent 8ef341dc88
commit b1390dda1c
8 changed files with 55 additions and 12 deletions

View File

@ -145,6 +145,8 @@ func (p *authenticator) reload(ctx context.Context) (err error) {
kvs[k] = v
}
p.options.logger.Debugf("load items %d", len(m))
p.mu.Lock()
defer p.mu.Unlock()
@ -206,7 +208,6 @@ func (p *authenticator) load(ctx context.Context) (m map[string]string, err erro
}
}
p.options.logger.Debugf("load items %d", len(m))
return
}