Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for assignee (0.15 sec)

  1. cmd/erasure-object.go

    		index := index
    		g.Go(func() error {
    			if disks[index] == nil {
    				return errDiskNotFound
    			}
    
    			// Pick one FileInfo for a disk at index.
    			fi := metadata[index]
    			// Assign index when index is initialized
    			if fi.Erasure.Index == 0 {
    				fi.Erasure.Index = index + 1
    			}
    
    			if !fi.IsValid() {
    				return errFileCorrupt
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  2. cmd/test-utils_test.go

    	globalObjectAPI = nil
    	globalObjLayerMutex.Unlock()
    }
    
    // reset the value of the Global server config.
    // set it to `nil`.
    func resetGlobalConfig() {
    	// hold the mutex lock before a new config is assigned.
    	globalServerConfigMu.Lock()
    	// Save the loaded config globally.
    	globalServerConfig = nil
    	globalServerConfigMu.Unlock()
    }
    
    func resetGlobalEndpoints() {
    	globalEndpoints = EndpointServerPools{}
    }
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  3. internal/bucket/lifecycle/lifecycle_test.go

    	if err != nil {
    		t.Fatalf("Expected parsing to succeed but failed with %v", err)
    	}
    	for _, rule := range lc.Rules {
    		if rule.ID == "" {
    			t.Fatalf("Expected all rules to have a unique id assigned %#v", rule)
    		}
    	}
    }
    
    func TestFilterAndSetPredictionHeaders(t *testing.T) {
    	lc := Lifecycle{
    		Rules: []Rule{
    			{
    				ID:     "rule-1",
    				Status: "Enabled",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 53.2K bytes
    - Viewed (0)
Back to top