- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 2,448 for errorf (0.04 sec)
-
istioctl/pkg/admin/istiodconfig.go
if resp.StatusCode != http.StatusOK { return &s, fmt.Errorf("request not successful %s: ", resp.Status) } err = json.NewDecoder(resp.Body).Decode(&s) if err != nil { return &s, fmt.Errorf("cannot deserialize response: %s", err) } return &s, nil } var ( istiodLabelSelector = "" istiodReset = false validationPattern = `^\w+:(debug|error|warn|info|debug)` )
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sat Apr 13 05:23:38 UTC 2024 - 13.5K bytes - Viewed (0) -
src/bytes/buffer_test.go
if err != nil { t.Errorf("read error: %v", err) } if n != 0 { t.Errorf("wrong count; got %d want 0", n) } } func TestUnreadByte(t *testing.T) { b := new(Buffer) // check at EOF if err := b.UnreadByte(); err == nil { t.Fatal("UnreadByte at EOF: got no error") } if _, err := b.ReadByte(); err == nil { t.Fatal("ReadByte at EOF: got no error") }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Sep 03 20:55:15 UTC 2024 - 18.6K bytes - Viewed (0) -
cmd/config-current.go
configLogIf(ctx, fmt.Errorf("Unable to load drive config: %w", err)) } else { if err = globalDriveConfig.Update(driveConfig); err != nil { configLogIf(ctx, fmt.Errorf("Unable to update drive config: %v", err)) } } case config.BrowserSubSys: browserCfg, err := browser.LookupConfig(s[config.BrowserSubSys][config.Default]) if err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 03 18:23:41 UTC 2024 - 30.1K bytes - Viewed (0) -
internal/s3select/sql/funceval.go
} return extract(strings.ToUpper(e.Timeword), t) } func errUnsupportedCast(fromType, toType string) error { return fmt.Errorf("Cannot cast from %v to %v", fromType, toType) } func errCastFailure(msg string) error { return fmt.Errorf("Error casting: %s", msg) } // Allowed cast types const ( castBool = "BOOL" castInt = "INT" castInteger = "INTEGER"
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 13.2K bytes - Viewed (0) -
cmd/net_test.go
switch { case testCase.expectedErr == nil: if err != nil { t.Errorf("error: expected = <nil>, got = %v", err) } case err == nil: t.Errorf("error: expected = %v, got = <nil>", testCase.expectedErr) case testCase.expectedErr.Error() != err.Error(): t.Errorf("error: expected = %v, got = %v", testCase.expectedErr, err) } }) } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Apr 19 08:43:09 UTC 2024 - 9.3K bytes - Viewed (0) -
cni/pkg/ipset/nldeps_linux.go
} } } return errors.Join(delErrs...) } func (m *realDeps) listEntriesByIP(name string) ([]netip.Addr, error) { var ipList []netip.Addr res, err := netlink.IpsetList(name) if err != nil { return ipList, fmt.Errorf("failed to list ipset %s: %w", name, err) } for _, entry := range res.Entries {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Jul 18 23:53:18 UTC 2024 - 4.1K 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) -
cmd/httprange.go
return nil, fmt.Errorf("Byte position ('%s') must not have a sign", offsetBeginString) } else if offsetBegin, err = strconv.ParseInt(offsetBeginString, 10, 64); err != nil { return nil, fmt.Errorf("'%s' does not have a valid first byte position value", rangeString) } else if offsetBegin < 0 { return nil, fmt.Errorf("First byte position is negative ('%d')", offsetBegin) } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu May 09 08:44:07 UTC 2024 - 5.9K bytes - Viewed (0) -
cmd/object-api-multipart_test.go
if testCase.expectedError.Error() != actualErr.Error() { t.Errorf("Test %d: %s: Expected to fail with error \"%s\", but instead failed with error \"%s\" instead.", i+1, instanceType, testCase.expectedError.Error(), actualErr.Error()) } } // Test passes as expected, but the output values are verified for correctness here. if actualErr == nil && testCase.shouldPass {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 09:42:21 UTC 2024 - 88.8K 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)