We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5235faa commit dc8cf3eCopy full SHA for dc8cf3e
enterprise/coderd/coderd.go
@@ -657,7 +657,9 @@ func (api *API) updateEntitlements(ctx context.Context) error {
657
})
658
} else {
659
coordinator = agpltailnet.NewCoordinator(api.Logger)
660
- api.derpMesh.SetAddresses([]string{}, false)
+ if api.Options.DeploymentValues.DERP.Server.Enable {
661
+ api.derpMesh.SetAddresses([]string{}, false)
662
+ }
663
api.replicaManager.SetCallback(func() {
664
// If the amount of replicas change, so should our entitlements.
665
// This is to display a warning in the UI if the user is unlicensed.
0 commit comments