mirror of
https://github.com/minio/minio.git
synced 2025-01-23 12:43:16 -05:00
Skip printing error if empty for reporting bandwidth (#11606)
This commit is contained in:
parent
02e7de6367
commit
6e5c61d917
@ -29,8 +29,8 @@ import (
|
||||
|
||||
// Report includes the bandwidth report or the error encountered.
|
||||
type Report struct {
|
||||
Report bandwidth.Report
|
||||
Err error
|
||||
Report bandwidth.Report `json:"report"`
|
||||
Err error `json:"error,omitempty"`
|
||||
}
|
||||
|
||||
// GetBucketBandwidth - Gets a channel reporting bandwidth measurements for replication buckets. If no buckets
|
||||
|
Loading…
x
Reference in New Issue
Block a user