- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 2,794 for Errorf (0.19 sec)
-
cni/pkg/plugin/sidecar_redirect.go
if valErr != nil { return nil, fmt.Errorf("annotation value error for value %s; annotationFound = %t: %v", "includeIPCidrs", isFound, valErr) } isFound, redir.excludeIPCidrs, valErr = getAnnotationOrDefault("excludeIPCidrs", pi.Annotations) if valErr != nil { return nil, fmt.Errorf("annotation value error for value %s; annotationFound = %t: %v", "excludeIPCidrs", isFound, valErr) }
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 10.6K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/configdump_test.go
if tt.wantOutputFile != "" { util.CompareContent(t, gotOut.Bytes(), tt.wantOutputFile) } if err == nil && tt.wantErr { t.Errorf("PrintBootstrapDump (%v) did not produce expected err", tt.name) } else if err != nil && !tt.wantErr { t.Errorf("PrintBootstrapDump (%v) produced unexpected err: %v", tt.name, err) } }) } } func TestConfigWriter_PrintVersionSummary(t *testing.T) {
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Wed Jan 03 23:08:06 GMT 2024 - 3.5K bytes - Viewed (0) -
tests/preload_suits_test.go
Go - Registered: Sun Apr 28 09:35:09 GMT 2024 - Last Modified: Fri Mar 18 05:38:46 GMT 2022 - 30.3K bytes - Viewed (0) -
cmd/sts-handlers.go
return } durationParam := r.Form.Get(stsDurationSeconds) var requestedDuration int if durationParam != "" { var err error requestedDuration, err = strconv.Atoi(durationParam) if err != nil { writeSTSErrorResponse(ctx, w, ErrSTSInvalidParameterValue, fmt.Errorf("Invalid requested duration: %s", durationParam))
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Thu Apr 04 18:36:18 GMT 2024 - 34.7K bytes - Viewed (2) -
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.Errorf("Failed to handle add event: %v", err) http.Error(w, err.Error(), http.StatusInternalServerError) return } } func processAddEvent(body []byte) (CNIPluginAddEvent, error) {
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Thu Feb 08 18:52:24 GMT 2024 - 6.1K bytes - Viewed (0) -
misc/go_android_exec/main.go
} return errorf("%v: %w", cmd, err) } parts := strings.SplitN(string(bytes.TrimSpace(out)), ":", 4) if len(parts) < 2 { return errorf("%v: missing ':' in output: %q", cmd, out) } importPath = parts[0] if importPath == "" || importPath == "." { return errorf("current directory does not have a Go import path") } isStd, err = strconv.ParseBool(parts[1]) if err != nil {
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Mon Aug 21 17:46:57 GMT 2023 - 15.3K 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") }
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Thu Apr 20 01:07:29 GMT 2023 - 18.1K bytes - Viewed (0) -
tests/soft_delete_test.go
t.Errorf("Table with escape character, got %v", sql) } if DB.First(&User{}, "name = ?", user.Name).Error == nil { t.Errorf("Can't find a soft deleted record") } count = 0 if DB.Model(&User{}).Where("name = ?", user.Name).Count(&count).Error != nil || count != 0 { t.Errorf("Count soft deleted record, expects: %v, got: %v", 0, count) } age = 0
Go - Registered: Sun Apr 28 09:35:09 GMT 2024 - Last Modified: Wed Feb 01 06:40:55 GMT 2023 - 5.7K bytes - Viewed (0) -
istioctl/pkg/tag/tag.go
Args: func(cmd *cobra.Command, args []string) error { if len(args) == 0 { return fmt.Errorf("must provide a tag for removal") } if len(args) > 1 { return fmt.Errorf("must provide a single tag for removal") } return nil }, RunE: func(cmd *cobra.Command, args []string) error { kubeClient, err := ctx.CLIClient() if err != nil { return fmt.Errorf("failed to create Kubernetes client: %v", err)
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Tue Apr 02 08:32:06 GMT 2024 - 16.3K bytes - Viewed (0) -
cmd/utils_test.go
if err == nil { t.Fatal("Expected a non nil error, but nil error returned for invalid profiler.") } } // checkURL - checks if passed address correspond func checkURL(urlStr string) (*url.URL, error) { if urlStr == "" { return nil, errors.New("Address cannot be empty") } u, err := url.Parse(urlStr) if err != nil { return nil, fmt.Errorf("`%s` invalid: %s", urlStr, err.Error()) } return u, nil }
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Fri Feb 23 21:28:14 GMT 2024 - 10.2K bytes - Viewed (0)