Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for countOKDrives (0.08 sec)

  1. cmd/admin-heal-ops.go

    	select {
    	case globalBackgroundHealRoutine.tasks <- task:
    		if serverDebugLog {
    			fmt.Printf("Task in the queue: %#v\n", task)
    		}
    	case <-h.ctx.Done():
    		return nil
    	}
    
    	countOKDrives := func(drives []madmin.HealDriveInfo) (count int) {
    		for _, drive := range drives {
    			if drive.State == madmin.DriveStateOk {
    				count++
    			}
    		}
    		return count
    	}
    
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 25.6K bytes
    - Viewed (0)
Back to top