- Sort Score
- Result 10 results
- Languages All
Results 761 - 770 of 2,461 for errors (0.06 sec)
-
cni/pkg/plugin/sidecar_redirect.go
func validateCIDRListWithWildcard(ipRanges string) error { if ipRanges != "*" { if e := validateCIDRList(ipRanges); e != nil { return fmt.Errorf("IPRanges invalid: %v", e) } } return nil } func getAnnotationOrDefault(name string, annotations map[string]string) (isFound bool, val string, err error) { if _, ok := annotationRegistry[name]; !ok { return false, "", fmt.Errorf("no registered annotation with name=%s", name)
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jan 26 20:34:28 UTC 2024 - 10.6K bytes - Viewed (0) -
tests/preload_suits_test.go
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Fri Mar 18 05:38:46 UTC 2022 - 30.3K bytes - Viewed (0) -
tests/count_test.go
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Oct 30 09:15:49 UTC 2023 - 6.9K bytes - Viewed (0) -
cmd/object_api_suite_test.go
if err == nil { t.Fatal("Expected error but found nil") } if err.Error() != "Bucket not found: bucket1" { t.Errorf("%s: Expected the error msg to be `%s`, but instead found `%s`", instanceType, "Bucket not found: bucket1", err.Error()) } } // Wrapper for calling testBucketRecreateFails for both Erasure and FS.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jul 02 15:13:05 UTC 2024 - 33.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/URLConnectionTest.kt
val request2 = server.takeRequest() assertThat(tlsVersions).contains(request2.handshake?.tlsVersion) } /** * Verify that we don't retry connections on certificate verification errors. * * http://code.google.com/p/android/issues/detail?id=13178 */ @Flaky @Test fun connectViaHttpsToUntrustedServer() { // Flaky https://github.com/square/okhttp/issues/5222
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 131.7K bytes - Viewed (0) -
tests/postgres_test.go
if err := DB.First(&result, "id = ?", yasuo.ID).Error; err != nil || yasuo.Name != "jinzhu" { t.Errorf("No error should happen, but got %v", err) } if err := DB.Where("id = $1", yasuo.ID).First(&Yasuo{}).Error; err != nil || yasuo.Name != "jinzhu" { t.Errorf("No error should happen, but got %v", err) } yasuo.Name = "jinzhu1" if err := DB.Save(&yasuo).Error; err != nil { t.Errorf("Failed to update date, got error %v", err) }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Sat Oct 08 09:16:32 UTC 2022 - 6.4K bytes - Viewed (0) -
tests/main_test.go
if DB.Where("sdsd.zaaa = ?", "sd;;;aa").Pluck("aaa", &columns).Error == nil { t.Errorf("Should got error with invalid SQL") } if DB.Model(&User{}).Where("sdsd.zaaa = ?", "sd;;;aa").Pluck("aaa", &columns).Error == nil { t.Errorf("Should got error with invalid SQL") } if DB.Where("sdsd.zaaa = ?", "sd;;;aa").Find(&User{}).Error == nil { t.Errorf("Should got error with invalid SQL") } var count1, count2 int64
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Mar 24 01:31:58 UTC 2022 - 1.4K bytes - Viewed (0) -
cmd/update_test.go
if !testCase.expectedErr { if err != nil { t.Errorf("error case %d: expected no error, got: %v", i+1, err) } } else if err == nil { t.Errorf("error case %d: expected error got: %v", i+1, err) } if err == nil { if hex.EncodeToString(sha256Sum) != testCase.expectedSha256hex { t.Errorf("case %d: result: expected: %v, got: %x", i+1, testCase.expectedSha256hex, sha256Sum) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 14 17:11:51 UTC 2024 - 10.4K bytes - Viewed (0) -
src/bytes/reader_test.go
t.Errorf("ReadRune: unexpected error: %v", err) } const want = "abcdef" r.Reset([]byte(want)) if err := r.UnreadRune(); err == nil { t.Errorf("UnreadRune: expected error, got nil") } buf, err := io.ReadAll(r) if err != nil { t.Errorf("ReadAll: unexpected error: %v", err) } if got := string(buf); got != want { t.Errorf("ReadAll: got %q, want %q", got, want) }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 8K bytes - Viewed (0) -
cni/pkg/nodeagent/cni-watcher.go
if err != nil { log.Errorf("failed to process CNI event payload: %v", err) http.Error(w, err.Error(), http.StatusBadRequest) return } if err := s.ReconcileCNIAddEvent(req.Context(), msg); err != nil { log.WithLabels("ns", msg.PodNamespace, "name", msg.PodName).Errorf("failed to handle add event: %v", err) http.Error(w, err.Error(), http.StatusInternalServerError) return } }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Jul 02 18:48:50 UTC 2024 - 6.7K bytes - Viewed (0)