Skip to content

Commit

Permalink
Fix spelling in log messages (#50701)
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenGravy authored Jan 2, 2025
1 parent fc72f12 commit 2f93b7e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/events/stream.go
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,7 @@ func (w *sliceWriter) receiveAndUpload() error {
slog.DebugContext(w.proto.completeCtx, "Inactivity timer ticked and exceeded threshold but have no data. Nothing to do.", "tick", now, "inactivity_period", inactivityPeriod)
}
} else {
slog.DebugContext(w.proto.completeCtx, "Inactivity timer ticked and did not exceeded threshold. Resetting ticker.", "tick", now, "inactiity_period", inactivityPeriod, "next_tick", w.proto.cfg.InactivityFlushPeriod-inactivityPeriod)
slog.DebugContext(w.proto.completeCtx, "Inactivity timer ticked and did not exceeded threshold. Resetting ticker.", "tick", now, "inactivity_period", inactivityPeriod, "next_tick", w.proto.cfg.InactivityFlushPeriod-inactivityPeriod)
flushCh = clock.After(w.proto.cfg.InactivityFlushPeriod - inactivityPeriod)
}
case event := <-w.proto.eventsCh:
Expand Down
2 changes: 1 addition & 1 deletion lib/tbot/service_ca_rotation.go
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ func (s *caRotationService) watchCARotations(ctx context.Context, queueReload fu

// We need to debounce here, as multiple events will be received if
// the user is rotating multiple CAs at once.
s.log.InfoContext(ctx, "CA Rotation step detected; queueing renewa.")
s.log.InfoContext(ctx, "CA Rotation step detected; queueing renewal")
queueReload()
case <-watcher.Done():
if err := watcher.Error(); err != nil {
Expand Down

0 comments on commit 2f93b7e

Please sign in to comment.