Skip to content

Commit c19a545

Browse files
committed
fixup! feat: support licenses that require telemetry
1 parent 81bca12 commit c19a545

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

enterprise/coderd/coderd.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -256,9 +256,9 @@ func (api *API) updateEntitlements(ctx context.Context) error {
256256
if entitlements.RequireTelemetry && !api.DeploymentConfig.Telemetry.Enable.Value {
257257
// We can't fail because then the user couldn't remove the offending
258258
// license w/o a restart.
259-
entitlements.Errors = append(
260-
entitlements.Errors, "License requires telemetry but telemetry is disabled",
261-
)
259+
api.entitlements.Errors = []string{
260+
"License requires telemetry but telemetry is disabled",
261+
}
262262
api.Logger.Error(ctx, "license requires telemetry enabled")
263263
return nil
264264
}

0 commit comments

Comments
 (0)