mirror of
https://github.com/minio/minio.git
synced 2025-01-24 05:03:16 -05:00
fix: in healing tracker printTo when err (#17207)
This commit is contained in:
parent
684399433b
commit
bd2dc6c670
@ -298,6 +298,7 @@ func (h *healingTracker) printTo(writer io.Writer) {
|
||||
b, err := json.MarshalIndent(h, "", " ")
|
||||
if err != nil {
|
||||
writer.Write([]byte(err.Error()))
|
||||
return
|
||||
}
|
||||
writer.Write(b)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user