Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for localDisks (0.24 sec)

  1. cmd/erasure.go

    	disks := er.getDisks()
    	endpoints := er.getEndpoints()
    
    	var localDisks []StorageAPI
    	var localEndpoints []Endpoint
    
    	for i, endpoint := range endpoints {
    		if endpoint.IsLocal {
    			localDisks = append(localDisks, disks[i])
    			localEndpoints = append(localEndpoints, endpoint)
    		}
    	}
    
    	return getStorageInfo(localDisks, localEndpoints, metrics)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 22:23:33 UTC 2024
    - 16.1K bytes
    - Viewed (0)
Back to top