We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81bca12 commit c19a545Copy full SHA for c19a545
enterprise/coderd/coderd.go
@@ -256,9 +256,9 @@ func (api *API) updateEntitlements(ctx context.Context) error {
256
if entitlements.RequireTelemetry && !api.DeploymentConfig.Telemetry.Enable.Value {
257
// We can't fail because then the user couldn't remove the offending
258
// license w/o a restart.
259
- entitlements.Errors = append(
260
- entitlements.Errors, "License requires telemetry but telemetry is disabled",
261
- )
+ api.entitlements.Errors = []string{
+ "License requires telemetry but telemetry is disabled",
+ }
262
api.Logger.Error(ctx, "license requires telemetry enabled")
263
return nil
264
}
0 commit comments