- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for deepEquals (0.07 seconds)
-
cmd/sts-handlers_test.go
content.policies[k] = nil gotContent.policies[k] = nil } if !reflect.DeepEqual(content.policies, gotContent.policies) { c.Fatalf("import %d: policies mismatch: expected: %v, got: %v", caseNum, content.policies, gotContent.policies) } } if !reflect.DeepEqual(content.ldapUserPolicyMappings, gotContent.ldapUserPolicyMappings) {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Oct 15 17:00:45 GMT 2025 - 103.4K bytes - Click Count (1) -
cmd/bucket-replication.go
return replicateMetadata } } t, _ := tags.ParseObjectTags(oi1.UserTags) oi2Map := make(map[string]string) maps.Copy(oi2Map, oi2.UserTags) if (oi2.UserTagCount > 0 && !reflect.DeepEqual(oi2Map, t.ToMap())) || (oi2.UserTagCount != len(t.ToMap())) { return replicateMetadata } // Compare only necessary headers compareKeys := []string{ "Expires", "Cache-Control",
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 118.2K bytes - Click Count (0) -
cmd/server_test.go
type check struct { *testing.T testType string } // Assert - checks if gotValue is same as expectedValue, if not fails the test. func (c *check) Assert(gotValue any, expectedValue any) { 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()Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 118.1K bytes - Click Count (0) -
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 perfCreated: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 184.8K bytes - Click Count (1)