From 7737196078ece145a9abb3b98d6ea43699093550 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Mon, 9 Feb 2026 13:22:40 -0800 Subject: [PATCH] address second round PR feedback for issue #8230 - Use fmt.Fprintf(c.writer, ...) instead of fmt.Printf - Add missing newline in "deleting path" log message --- weed/shell/command_volume_fsck.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weed/shell/command_volume_fsck.go b/weed/shell/command_volume_fsck.go index cdb07a7d0..17c553141 100644 --- a/weed/shell/command_volume_fsck.go +++ b/weed/shell/command_volume_fsck.go @@ -293,7 +293,7 @@ func (c *commandVolumeFsck) collectFilerFileIdAndPaths(dataNodeVolumeIdToVInfo m } fmt.Fprintf(c.writer, "%d,%x%08x %s volume not found\n", i.vid, i.fileKey, i.cookie, i.path) if purgeAbsent { - fmt.Printf("deleting path %s after volume not found", i.path) + fmt.Fprintf(c.writer, "deleting path %s after volume not found\n", i.path) c.httpDelete(i.path) } }