Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for DeepEqual (0.85 sec)

  1. cmd/bucket-replication.go

    			}
    		}
    		if strings.Join(enc, ",") != oi1.ContentEncoding {
    			return replicateMetadata
    		}
    	}
    
    	t, _ := tags.ParseObjectTags(oi1.UserTags)
    	if (oi2.UserTagCount > 0 && !reflect.DeepEqual(oi2.UserTags, t.ToMap())) || (oi2.UserTagCount != len(t.ToMap())) {
    		return replicateMetadata
    	}
    
    	// Compare only necessary headers
    	compareKeys := []string{
    		"Expires",
    		"Cache-Control",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
  2. cmd/server_test.go

    	*testing.T
    	testType string
    }
    
    // Assert - checks if gotValue is same as expectedValue, if not fails the test.
    func (c *check) Assert(gotValue interface{}, expectedValue interface{}) {
    	c.Helper()
    	if !reflect.DeepEqual(gotValue, expectedValue) {
    		c.Fatalf("Test %s expected %v, got %v", c.testType, expectedValue, gotValue)
    	}
    }
    
    func verifyError(c *check, response *http.Response, code, description string, statusCode int) {
    	c.Helper()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 116.3K bytes
    - Viewed (0)
  3. cmd/site-replication.go

    		if err != nil {
    			return errSRPeerResp(fmt.Errorf("unable to fetch IDP settings from %s: %v", v.Name, err))
    		}
    		s = append(s, is)
    	}
    
    	for i := 1; i < len(s); i++ {
    		if !reflect.DeepEqual(s[i], s[0]) {
    			return errSRIAMConfigMismatch(peers[0].Name, peers[i].Name, s[0], s[i])
    		}
    	}
    
    	return nil
    }
    
    // Netperf for site-replication net perf
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
Back to top