Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for sorted (0.19 sec)

  1. cmd/erasure-server-pool.go

    			poolObjInfos[i] = pinfo
    		}(i, pool, poolOpts[i])
    	}
    	wg.Wait()
    
    	// Sort the objInfos such that we always serve latest
    	// this is a defensive change to handle any duplicate
    	// content that may have been created, we always serve
    	// the latest object.
    	sort.Slice(poolObjInfos, func(i, j int) bool {
    		mtime1 := poolObjInfos[i].ObjInfo.ModTime
    		mtime2 := poolObjInfos[j].ObjInfo.ModTime
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  2. cmd/api-errors.go

    		Code:           "XMinioAdminRebalanceAlreadyStarted",
    		Description:    "Pool rebalance is already started",
    		HTTPStatusCode: http.StatusConflict,
    	},
    	ErrAdminRebalanceNotStarted: {
    		Code:           "XMinioAdminRebalanceNotStarted",
    		Description:    "Pool rebalance is not started",
    		HTTPStatusCode: http.StatusNotFound,
    	},
    	ErrMaximumExpires: {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
Back to top