Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for healDisks (0.14 sec)

  1. cmd/admin-handlers.go

    	// Collect any disk healing.
    	healing, _ := getAggregatedBackgroundHealState(ctx, nil)
    	healDisks := make(map[string]struct{}, len(healing.HealDisks))
    	for _, disk := range healing.HealDisks {
    		healDisks[disk] = struct{}{}
    	}
    
    	// find all disks which belong to each respective endpoints
    	for i, disk := range storageInfo.Disks {
    		if _, ok := healDisks[disk.Endpoint]; ok {
    			storageInfo.Disks[i].Healing = true
    		}
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
Back to top