fix(coderd): pass block endpoints into servertailnet (#12149)

This commit is contained in:
Colin Adler
2024-03-07 23:29:54 -06:00
committed by GitHub
parent d2a74cf547
commit 66154f937e
8 changed files with 62 additions and 2 deletions

View File

@ -489,6 +489,7 @@ func New(options *Options) *API {
func(context.Context) (tailnet.MultiAgentConn, error) {
return (*api.TailnetCoordinator.Load()).ServeMultiAgent(uuid.New()), nil
},
options.DeploymentValues.DERP.Config.BlockDirect.Value(),
api.TracerProvider,
)
if err != nil {