mirror of
https://github.com/luckfox-eng29/kvm.git
synced 2026-01-18 03:28:19 +01:00
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:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user