- Sort Score
- Result 10 results
- Languages All
Results 401 - 410 of 2,448 for error_ (0.04 sec)
-
istioctl/pkg/describe/describe.go
podsLabels klabels.Set, istioNamespace string, ) error { meshCfg, err := getMeshConfig(kubeClient, istioNamespace) if err != nil { return fmt.Errorf("failed to fetch mesh config: %v", err) } workloadPAList, err := configClient.SecurityV1().PeerAuthentications(workloadNamespace).List(context.Background(), metav1.ListOptions{}) if err != nil {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 24 17:36:49 UTC 2024 - 50.6K bytes - Viewed (0) -
schema/field.go
schema.err = fmt.Errorf("failed to parse %s as default value for uint, got error: %v", field.DefaultValue, err) } } case reflect.Float32, reflect.Float64: field.DataType = Float if field.HasDefaultValue && !skipParseDefaultValue { if field.DefaultValueInterface, err = strconv.ParseFloat(field.DefaultValue, 64); err != nil {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Apr 15 03:20:20 UTC 2024 - 32K bytes - Viewed (0) -
tests/joins_table_test.go
if err := DB.Select(clause.Associations).Delete(&person2).Error; err != nil { t.Fatalf("failed to delete person, got error: %v", err) } if count := DB.Unscoped().Model(&person2).Association("Addresses").Count(); count != 2 { t.Errorf("person's addresses expects 2, got %v", count) } if count := DB.Model(&person2).Association("Addresses").Count(); count != 0 { t.Errorf("person's addresses expects 2, got %v", count) }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Sep 10 13:46:18 UTC 2020 - 3.5K bytes - Viewed (1) -
cni/pkg/plugin/cnieventclient.go
if err != nil { return fmt.Errorf("failed to send event request: %v", err) } defer response.Body.Close() if response.StatusCode != http.StatusOK { body, err := io.ReadAll(io.LimitReader(response.Body, 1024*1024)) if err != nil { return fmt.Errorf("unable to push CNI event and failed to read body (status code %d): %v", response.StatusCode, err) }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Jul 02 18:48:50 UTC 2024 - 2.7K bytes - Viewed (0) -
cni/pkg/util/executil.go
package util import ( "bytes" "errors" "os/exec" "strings" "istio.io/istio/pkg/log" ) type ExecList struct { Cmd string Args []string } func NewExec(cmd string, args []string) *ExecList { return &ExecList{ Cmd: cmd, Args: args, } } func ExecuteOutput(cmd string, args ...string) (string, error) { externalCommand := exec.Command(cmd, args...)
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jan 26 20:34:28 UTC 2024 - 1.8K bytes - Viewed (0) -
tests/migrate_test.go
if err != nil { t.Errorf("AutoMigrate err:%v", err) } err = db.Table("objects").Create(&Object1{}).Error if err != nil { t.Errorf("create err:%v", err) } // AddColumn err = db.Table("objects").AutoMigrate(&Object2{}) if err != nil { t.Errorf("AutoMigrate err:%v", err) } err = db.Table("objects").Take(&Object2{}).Error if err != nil {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Mar 18 11:24:16 UTC 2024 - 56.2K bytes - Viewed (0) -
cmd/xl-storage-format-v2_test.go
} merged := mergeXLV2Versions(i, false, 0, vMod...) if len(merged) == 0 && i < 2 { t.Error("Did not get any results") return } if len(merged) > 0 && i >= 2 { t.Error("Got unexpected results") return } for _, ver := range merged { if ver.header.Type == invalidVersionType { t.Errorf("Invalid result returned: %v", ver.header) } } })
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Mar 08 17:50:48 UTC 2024 - 36.4K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/Result.java
return success(model, problemsList); } /** * Error with problems describing the cause * * @param problems */ public static <T> Result<T> error(Iterable<? extends ModelProblem> problems) { return error(null, problems); } public static <T> Result<T> error(T model) { return error(model, Collections.emptyList()); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.9K bytes - Viewed (0) -
cmd/warm-backend.go
PutWithMeta(ctx context.Context, object string, r io.Reader, length int64, meta map[string]string) (remoteVersionID, error) Get(ctx context.Context, object string, rv remoteVersionID, opts WarmBackendGetOpts) (io.ReadCloser, error) Remove(ctx context.Context, object string, rv remoteVersionID) error InUse(ctx context.Context) (bool, error) } const probeObject = "probeobject"
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 31 22:10:24 UTC 2024 - 4K bytes - Viewed (0) -
tests/serializer_test.go
t.Fatalf("no error should happen when migrate scanner, valuer struct, got error %v", err) } data := SerializerStruct{} if err := DB.Create(&data).Error; err != nil { t.Fatalf("failed to create data, got error %v", err) } var result SerializerStruct if err := DB.First(&result, data.ID).Error; err != nil { t.Fatalf("failed to query data, got error %v", err) }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Fri Apr 21 14:09:38 UTC 2023 - 7.6K bytes - Viewed (0)