mirror of
https://github.com/minio/minio.git
synced 2025-01-11 15:03:22 -05:00
fix: missing disk metrics when query metric api from peer (#17738)
This commit is contained in:
parent
aea7b08a47
commit
14ebd82dbd
@ -212,7 +212,7 @@ func (client *peerRESTClient) GetMetrics(ctx context.Context, t madmin.MetricTyp
|
||||
values := make(url.Values)
|
||||
values.Set(peerRESTMetricsTypes, strconv.FormatUint(uint64(t), 10))
|
||||
for disk := range opts.disks {
|
||||
values.Set(peerRESTDisk, disk)
|
||||
values.Add(peerRESTDisk, disk)
|
||||
}
|
||||
for host := range opts.hosts {
|
||||
values.Add(peerRESTHost, host)
|
||||
|
Loading…
Reference in New Issue
Block a user