mirror of https://github.com/status-im/consul.git
auth: register auth controllers with the server (#19000)
This commit is contained in:
parent
3ea6afb4d4
commit
06c15d0656
|
@ -19,6 +19,7 @@ import (
|
|||
"sync/atomic"
|
||||
"time"
|
||||
|
||||
"github.com/hashicorp/consul/internal/auth"
|
||||
"github.com/hashicorp/consul/internal/mesh"
|
||||
"github.com/hashicorp/consul/internal/resource"
|
||||
|
||||
|
@ -934,6 +935,8 @@ func (s *Server) registerControllers(deps Deps, proxyUpdater ProxyUpdater) error
|
|||
DefaultAllow: defaultAllow,
|
||||
ProxyUpdater: proxyUpdater,
|
||||
})
|
||||
|
||||
auth.RegisterControllers(s.controllerManager, auth.DefaultControllerDependencies())
|
||||
}
|
||||
|
||||
reaper.RegisterControllers(s.controllerManager)
|
||||
|
|
Loading…
Reference in New Issue