Skip to content

Commit 2144d13

Browse files
refactor: CR's fixes
1 parent 80f3677 commit 2144d13

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

enterprise/coderd/prebuilds/reconcile.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -363,15 +363,15 @@ func (c *StoreReconciler) ReconcilePreset(ctx context.Context, ps prebuilds.Pres
363363

364364
// If the preset was previously hard-limited, log it and exit early.
365365
if ps.Preset.PrebuildStatus == database.PrebuildStatusHardLimited {
366-
logger.Warn(ctx, "skipping hard limited preset", slog.F("preset_id", ps.Preset.ID), slog.F("name", ps.Preset.Name))
366+
logger.Warn(ctx, "skipping hard limited preset")
367367
return nil
368368
}
369369

370370
// If the preset reached the hard failure limit for the first time during this iteration:
371371
// - Mark it as hard-limited in the database
372372
// - Send notifications to template admins
373373
if ps.IsHardLimited {
374-
logger.Warn(ctx, "skipping hard limited preset", slog.F("preset_id", ps.Preset.ID), slog.F("name", ps.Preset.Name))
374+
logger.Warn(ctx, "skipping hard limited preset")
375375

376376
err := c.store.UpdatePresetPrebuildStatus(ctx, database.UpdatePresetPrebuildStatusParams{
377377
Status: database.PrebuildStatusHardLimited,

0 commit comments

Comments
 (0)