Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitdc8cf3e

Browse files
authored
fix: nil ptr dereference when removing a license (#12785)
1 parent5235faa commitdc8cf3e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎enterprise/coderd/coderd.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,9 @@ func (api *API) updateEntitlements(ctx context.Context) error {
657657
})
658658
}else {
659659
coordinator=agpltailnet.NewCoordinator(api.Logger)
660-
api.derpMesh.SetAddresses([]string{},false)
660+
ifapi.Options.DeploymentValues.DERP.Server.Enable {
661+
api.derpMesh.SetAddresses([]string{},false)
662+
}
661663
api.replicaManager.SetCallback(func() {
662664
// If the amount of replicas change, so should our entitlements.
663665
// This is to display a warning in the UI if the user is unlicensed.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp