Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for newObjectLayerFn (0.21 sec)

  1. cmd/background-newdisks-heal-ops.go

    func (h *healingTracker) save(ctx context.Context) error {
    	h.mu.Lock()
    	if h.PoolIndex < 0 || h.SetIndex < 0 || h.DiskIndex < 0 {
    		// Attempt to get location.
    		if api := newObjectLayerFn(); api != nil {
    			if ep, ok := api.(*erasureServerPools); ok {
    				h.PoolIndex, h.SetIndex, h.DiskIndex, _ = ep.getPoolAndSet(h.ID)
    			}
    		}
    	}
    	h.LastUpdate = time.Now().UTC()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.7K bytes
    - Viewed (0)
Back to top