mirror of
https://github.com/minio/minio.git
synced 2024-12-24 06:05:55 -05:00
Remove duplicate cpu hardware info (#8384)
This commit is contained in:
parent
2320a877bc
commit
1c90485b56
@ -124,6 +124,8 @@ func getLocalCPUInfo(endpoints EndpointList, r *http.Request) madmin.ServerCPUHa
|
||||
if seenHosts.Contains(endpoint.Host) {
|
||||
continue
|
||||
}
|
||||
// Add to the list of visited hosts
|
||||
seenHosts.Add(endpoint.Host)
|
||||
// Only proceed for local endpoints
|
||||
if endpoint.IsLocal {
|
||||
cpuHardware, err := cpuhw.Info()
|
||||
|
Loading…
Reference in New Issue
Block a user