mirror of
https://github.com/minio/minio.git
synced 2025-11-09 05:34:56 -05:00
fix: byHost realTime metrics API (#17681)
This commit is contained in:
@@ -214,6 +214,9 @@ func (client *peerRESTClient) GetMetrics(ctx context.Context, t madmin.MetricTyp
|
||||
for disk := range opts.disks {
|
||||
values.Set(peerRESTDisk, disk)
|
||||
}
|
||||
for host := range opts.hosts {
|
||||
values.Add(peerRESTHost, host)
|
||||
}
|
||||
values.Set(peerRESTJobID, opts.jobID)
|
||||
values.Set(peerRESTDepID, opts.depID)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user