- Sort Score
- Result 10 results
- Languages All
Results 231 - 240 of 1,069 for Err (0.04 sec)
-
cni/pkg/nodeagent/server_test.go
expectPodAddedToIPSet(fakeIPSetDeps, podIP, pod.ObjectMeta) err := m.AddPodToMesh(fakeCtx, pod, podIPs, "") assert.NoError(t, err) fakeIPSetDeps.AssertExpectations(t) pod, err = fakeClientSet.CoreV1().Pods("test").Get(fakeCtx, "test", metav1.GetOptions{}) assert.NoError(t, err) assert.Equal(t, len(pod.Annotations), 1)
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 18.7K bytes - Viewed (0) -
cmd/sts-handlers.go
} if err := claims.populateSessionPolicy(r.Form); err != nil { writeSTSErrorResponse(ctx, w, ErrSTSInvalidParameterValue, err) return } secret, err := getTokenSigningKey() if err != nil { writeSTSErrorResponse(ctx, w, ErrSTSInternalError, err) return } cred, err := auth.GetNewCredentialsWithMetadata(claims, secret) if err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 15 01:29:20 UTC 2024 - 33.9K bytes - Viewed (0) -
internal/kms/dek_test.go
} func TestEncodeDecodeDEK(t *testing.T) { for i, test := range dekEncodeDecodeTests { text, err := test.Key.MarshalText() if err != nil { t.Fatalf("Test %d: failed to marshal DEK: %v", i, err) } var key DEK if err = key.UnmarshalText(text); err != nil { t.Fatalf("Test %d: failed to unmarshal DEK: %v", i, err) } if key.Plaintext != nil { t.Fatalf("Test %d: unmarshaled DEK contains non-nil plaintext", i)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue May 07 23:55:37 UTC 2024 - 2.6K bytes - Viewed (0) -
istioctl/pkg/metrics/metrics.go
var me *multierror.Error var err error sm := workloadMetrics{workload: workload} sm.totalRPS, err = vectorValue(promAPI, rpsQuery) if err != nil { me = multierror.Append(me, err) } sm.errorRPS, err = vectorValue(promAPI, errRPSQuery) if err != nil { me = multierror.Append(me, err) } p50Latency, err := getLatency(promAPI, wname, wns, duration, 0.5) if err != nil {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sat Apr 13 05:23:38 UTC 2024 - 8.4K bytes - Viewed (0) -
tests/connpool_test.go
} }() db, err := gorm.Open(mysql.New(mysql.Config{Conn: conn, DisableWithReturning: true})) if err != nil { t.Fatalf("Should open db success, but got %v", err) } tx := db.Begin() user := *GetUser("transaction", Config{}) if err = tx.Save(&user).Error; err != nil { t.Fatalf("No error should raise, but got %v", err) }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Tue Feb 06 02:54:40 UTC 2024 - 5.5K bytes - Viewed (0) -
istioctl/pkg/writer/compare/comparator.go
istiodDump := &configdump.Wrapper{} err := json.Unmarshal(resp, istiodDump) if err != nil { continue } c.istiod = istiodDump break } if c.istiod == nil { return nil, fmt.Errorf("unable to find config dump in Istiod responses") } envoyDump := &configdump.Wrapper{} err := json.Unmarshal(envoyResponse, envoyDump) if err != nil { return nil, err } c.envoy = envoyDump c.w = w
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sun Apr 21 17:42:54 UTC 2024 - 3.7K bytes - Viewed (0) -
cmd/erasure-multipart.go
opts.NoLock = true } obj, err := er.getObjectInfo(ctx, bucket, object, opts) if err == nil && opts.CheckPrecondFn(obj) { return ObjectInfo{}, PreConditionFailed{} } if err != nil && !isErrVersionNotFound(err) && !isErrObjectNotFound(err) && !isErrReadQuorum(err) { return ObjectInfo{}, err } } fi, partsMetadata, err := er.checkUploadIDExists(ctx, bucket, object, uploadID, true)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Sep 29 22:40:36 UTC 2024 - 44.7K bytes - Viewed (0) -
internal/store/batch.go
return len(b.items) >= int(b.limit) } func (b *Batch[I]) commit() error { switch len(b.items) { case 0: return nil case 1: _, err := b.store.Put(b.items[0]) return err default: } if _, err := b.store.PutMultiple(b.items); err != nil { return err } b.items = make([]I, 0, b.limit) return nil } // Close commits the pending items and quits the goroutines func (b *Batch[I]) Close() error {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 2.9K bytes - Viewed (0) -
cmd/xl-storage_windows_test.go
dir := t.TempDir() fs, err := newLocalXLStorage(dir) if err != nil { t.Fatal(err) } // Create volume to use in conjunction with other StorageAPI's file API(s) err = fs.MakeVol(context.Background(), "voldir") if err != nil { t.Fatal(err) } err = fs.AppendFile(context.Background(), "voldir", "/file", []byte("hello")) if err != nil { t.Fatal(err) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Nov 29 06:35:16 UTC 2023 - 2.8K bytes - Viewed (0) -
istioctl/pkg/waypoint/waypoint.go
} } gw, err := makeGateway(true) if err != nil { return fmt.Errorf("failed to create gateway: %v", err) } gwc := kubeClient.GatewayAPI().GatewayV1().Gateways(ctx.NamespaceOrDefault(ctx.Namespace())) b, err := yaml.Marshal(gw) if err != nil { return err }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 19.6K bytes - Viewed (0)