mirror of
https://github.com/Li4n0/revsuit.git
synced 2026-09-26 16:41:53 +08:00
feat(recycler): add error cecycler (#10)
This commit is contained in:
@@ -86,7 +86,7 @@ var authServers = make(map[string]AuthServer)
|
||||
// RegisterAuthServerImpl registers an implementations of AuthServer.
|
||||
func RegisterAuthServerImpl(name string, authServer AuthServer) {
|
||||
if _, ok := authServers[name]; ok {
|
||||
log.Error("AuthServer named %v already exists", name)
|
||||
log.Warn("AuthServer named %v already exists", name)
|
||||
}
|
||||
authServers[name] = authServer
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user