Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for DecommissionCancel (0.07 sec)

  1. cmd/admin-handlers-pools.go

    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, errInvalidArgument), r.URL)
    		return
    	}
    
    	if !proxyDecommissionRequest(ctx, globalEndpoints[idx].Endpoints[0], w, r) {
    		if err := pools.DecommissionCancel(ctx, idx); err != nil {
    			writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    			return
    		}
    	}
    }
    
    func (a adminAPIHandlers) StatusPool(w http.ResponseWriter, r *http.Request) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Sep 04 20:47:24 UTC 2025
    - 11K bytes
    - Viewed (0)
  2. cmd/erasure-server-pool-decom.go

    		p.Pools[idx].Decommission.Complete = false
    		p.Pools[idx].Decommission.Failed = true
    		p.Pools[idx].Decommission.Canceled = false
    		return true
    	}
    	return false
    }
    
    func (p *poolMeta) DecommissionCancel(idx int) bool {
    	if p.Pools[idx].Decommission != nil && !p.Pools[idx].Decommission.Canceled {
    		p.Pools[idx].LastUpdate = UTCNow()
    		p.Pools[idx].Decommission.StartTime = time.Time{}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 42.1K bytes
    - Viewed (1)
Back to top