- Sort Score
- Result 10 results
- Languages All
Results 911 - 920 of 1,020 for err (0.02 sec)
-
istioctl/pkg/util/ambient/util.go
isZtunnel := strings.HasPrefix(podName, "ztunnel") if client == nil { return isZtunnel } pod, err := client.Kube().CoreV1().Pods(podNamespace).Get(context.Background(), podName, metav1.GetOptions{}) if err != nil { return isZtunnel } if v, ok := pod.Labels["app"]; ok { return v == "ztunnel" } return isZtunnel }
Registered: Wed Oct 30 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 1.8K bytes - Viewed (0) -
lib/wasm/wasm_exec_node.js
Registered: Tue Oct 29 11:13:09 UTC 2024 - Last Modified: Fri Aug 30 19:15:21 UTC 2024 - 1.2K bytes - Viewed (0) -
internal/disk/directio_darwin.go
return directio.OpenFile(filePath, flag, perm) } // DisableDirectIO - disables directio mode. func DisableDirectIO(f *os.File) error { fd := f.Fd() _, err := unix.FcntlInt(fd, unix.F_NOCACHE, 0) return err } // AlignedBlock - pass through to directio implementation. func AlignedBlock(blockSize int) []byte { return directio.AlignedBlock(blockSize)
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Sat Jun 17 14:31:36 UTC 2023 - 1.4K bytes - Viewed (0) -
statement.go
} } } func (stmt *Statement) Parse(value interface{}) (err error) { return stmt.ParseWithSpecialTableName(value, "") } func (stmt *Statement) ParseWithSpecialTableName(value interface{}, specialTableName string) (err error) { if stmt.Schema, err = schema.ParseWithSpecialTableName(value, stmt.DB.cacheStore, stmt.DB.NamingStrategy, specialTableName); err == nil && stmt.Table == "" {
Registered: Sun Oct 27 09:35:08 UTC 2024 - Last Modified: Mon Jun 24 09:42:59 UTC 2024 - 19.9K bytes - Viewed (0) -
cmd/erasure-metadata_test.go
} // Test them. for _, testCase := range testCases { index, offset, err := fi.ObjectToPartOffset(context.Background(), testCase.offset) if err != testCase.expectedErr { t.Fatalf("%+v: expected = %s, got: %s", testCase, testCase.expectedErr, err) } if index != testCase.expectedIndex { t.Fatalf("%+v: index: expected = %d, got: %d", testCase, testCase.expectedIndex, index)
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Thu Jul 25 21:02:50 UTC 2024 - 13.5K bytes - Viewed (0) -
cmd/signature-v4.go
// Copy request req := *r // Parse request query string. pSignValues, err := parsePreSignV4(req.Form, region, stype) if err != ErrNone { return err } cred, _, s3Err := checkKeyValid(r, pSignValues.Credential.accessKey) if s3Err != ErrNone { return s3Err }
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Thu May 16 23:13:47 UTC 2024 - 12.4K bytes - Viewed (0) -
internal/logger/audit.go
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Tue Sep 24 17:13:00 UTC 2024 - 4.6K bytes - Viewed (0) -
istioctl/pkg/install/k8sversion/version_test.go
isValid: false, }, } for i, c := range cases { t.Run(fmt.Sprintf("case %d %s", i, c.version), func(t *testing.T) { got, err := extractKubernetesVersion(c.version) if c.errMsg != err && c.isValid { t.Fatalf("\nwanted: %v \nbut found: %v", c.errMsg, err) } if got != c.expected { t.Fatalf("wanted %v got %v", c.expected, got) } }) } }
Registered: Wed Oct 30 22:53:10 UTC 2024 - Last Modified: Wed Oct 30 21:50:50 UTC 2024 - 6.5K bytes - Viewed (0) -
cmd/bucket-replication-utils_test.go
} func TestParseReplicateDecision(t *testing.T) { for i, test := range parseReplicationDecisionTest { dsc, err := parseReplicateDecision(context.Background(), "bucket", test.expDsc.String()) if err != nil { if test.expErr != err { t.Errorf("Test%d (%s): Expected parse error got %t , want %t", i+1, test.name, err, test.expErr) } continue } if len(dsc.targetsMap) != len(test.expDsc.targetsMap) {
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Tue Aug 08 20:27:40 UTC 2023 - 9.3K bytes - Viewed (0) -
cni/cmd/install-cni/main.go
go func(sigChan chan os.Signal, cancel context.CancelFunc) { sig := <-sigChan log.Infof("Exit signal received: %s", sig) cancel() }(sigChan, cancel) rootCmd := cmd.GetCommand() if err := rootCmd.ExecuteContext(ctx); err != nil { os.Exit(1) }
Registered: Wed Oct 30 22:53:10 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 1.2K bytes - Viewed (0)