Logging cleanup

* Cleanup additional `fmt.Println()` that should call logger.
* Use `%v` for logging errors.

Signed-off-by: SuperQ <superq@gmail.com>
This commit is contained in:
SuperQ
2025-03-11 18:47:49 +01:00
parent 4884240f5f
commit c818d498a9
2 changed files with 3 additions and 3 deletions

View File

@@ -142,7 +142,7 @@ func (d *NBDDevice) runClientConn() {
ExportName: "jetkvm",
BlockSize: uint32(4 * 1024),
})
logger.Infof("nbd client exited: %w", err)
logger.Infof("nbd client exited: %v", err)
}
func (d *NBDDevice) Close() {