chore: update logging

This commit is contained in:
Siyuan Miao
2025-04-11 12:55:36 +02:00
parent 924b55059f
commit 0ba7902f82
13 changed files with 246 additions and 105 deletions

2
ota.go
View File

@@ -194,7 +194,7 @@ func downloadFile(ctx context.Context, path string, url string, downloadProgress
func verifyFile(path string, expectedHash string, verifyProgress *float32, scopedLogger *zerolog.Logger) error {
if scopedLogger == nil {
scopedLogger = &otaLogger
scopedLogger = otaLogger
}
unverifiedPath := path + ".unverified"