mirror of
https://github.com/minio/minio.git
synced 2025-02-03 01:46:00 -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.
|
// Report includes the bandwidth report or the error encountered.
|
||||||
type Report struct {
|
type Report struct {
|
||||||
Report bandwidth.Report
|
Report bandwidth.Report `json:"report"`
|
||||||
Err error
|
Err error `json:"error,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// GetBucketBandwidth - Gets a channel reporting bandwidth measurements for replication buckets. If no buckets
|
// GetBucketBandwidth - Gets a channel reporting bandwidth measurements for replication buckets. If no buckets
|
||||||
|
Loading…
x
Reference in New Issue
Block a user