Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v17] Fix spelling in log messages #50983

Merged
merged 1 commit into from
Jan 13, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/backend/memory/memory.go
Original file line number Diff line number Diff line change
@@ -472,7 +472,7 @@ func (m *Memory) removeExpired() int {
}
m.heap.PopEl()
m.tree.Delete(item)
m.logger.DebugContext(m.ctx, "Removed expired item.", "key", item.Key.String(), "epiry", item.Expires)
m.logger.DebugContext(m.ctx, "Removed expired item.", "key", item.Key.String(), "expiry", item.Expires)
removed++

event := backend.Event{
2 changes: 1 addition & 1 deletion lib/events/complete.go
Original file line number Diff line number Diff line change
@@ -271,7 +271,7 @@ func (u *UploadCompleter) CheckUploads(ctx context.Context) error {
continue
}

log.DebugContext(ctx, "foud upload with parts", "part_count", len(parts))
log.DebugContext(ctx, "found upload with parts", "part_count", len(parts))

if err := u.cfg.Uploader.CompleteUpload(ctx, upload, parts); trace.IsNotFound(err) {
log.DebugContext(ctx, "Upload not found, moving on to next upload", "error", err)