- Sort Score
- Result 10 results
- Languages All
Results 1271 - 1280 of 2,251 for erro (0.03 sec)
-
istioctl/pkg/tag/generate_test.go
t.Run(tc.name, func(t *testing.T) { webhookConfig, err := tagWebhookConfigFromCanonicalWebhook(tc.webhook, "default", tc.istioNamespace) if err != nil { t.Fatalf("webhook parsing failed with error: %v", err) } webhookConfig, err = fixWhConfig(fakeClient, webhookConfig) if err != nil { t.Fatalf("webhook fixing failed with error: %v", err) } opts := &GenerateOptions{
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 12.1K bytes - Viewed (0) -
docs_src/dependencies/tutorial008b_an_py39.py
} class OwnerError(Exception): pass def get_username(): try: yield "Rick" except OwnerError as e: raise HTTPException(status_code=400, detail=f"Owner error: {e}") @app.get("/items/{item_id}") def get_item(item_id: str, username: Annotated[str, Depends(get_username)]): if item_id not in data: raise HTTPException(status_code=404, detail="Item not found")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Dec 26 20:37:34 UTC 2023 - 775 bytes - Viewed (0) -
src/bufio/export_test.go
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Nov 02 17:17:44 UTC 2017 - 597 bytes - Viewed (0) -
tests/test_tutorial/test_separate_openapi_schemas/test_tutorial002_py39.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Aug 25 19:10:22 UTC 2023 - 4.9K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/ReactorManager.java
return ArtifactUtils.versionlessKey(project.getGroupId(), project.getArtifactId()); } public void registerBuildFailure(MavenProject project, Exception error, String task, long time) { buildFailuresByProject.put(getProjectKey(project), new BuildFailure(project, time, error)); } public boolean hasBuildFailures() { return !buildFailuresByProject.isEmpty(); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.6K bytes - Viewed (0) -
cni/pkg/plugin/kubernetes.go
func newK8sClient(conf Config) (kubernetes.Interface, error) { // Some config can be passed in a kubeconfig file kubeconfig := filepath.Join(conf.CNIAgentRunDir, constants.CNIPluginKubeconfName) config, err := kube.DefaultRestConfig(kubeconfig, "") if err != nil { log.Errorf("Failed setting up kubernetes client with kubeconfig %s", kubeconfig) return nil, err }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 01 18:38:14 UTC 2024 - 3.7K bytes - Viewed (0) -
src/archive/tar/common.go
} var doNameLookups = true if iface, ok := fi.(FileInfoNames); ok { doNameLookups = false var err error h.Gname, err = iface.Gname() if err != nil { return nil, err } h.Uname, err = iface.Uname() if err != nil { return nil, err } } if sysStat != nil { return h, sysStat(fi, h, doNameLookups) } return h, nil }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Sep 13 21:03:27 UTC 2024 - 24.5K bytes - Viewed (0) -
tests/test_ws_router.py
with pytest.raises(WebSocketDisconnect) as e: with client.websocket_connect("/depends-validate/"): pass # pragma: no cover # the validation error does produce a close message assert e.value.code == status.WS_1008_POLICY_VIOLATION # and no error is leaked assert caught == [] def test_depend_err_middleware(): """
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Jun 11 19:08:14 UTC 2023 - 7.5K bytes - Viewed (0) -
internal/grid/connection_test.go
defer testlogger.T.SetLogTB(t)() defer timeout(10 * time.Second)() hosts, listeners, _ := getHosts(2) dialer := &net.Dialer{ Timeout: 1 * time.Second, } errFatal := func(err error) { t.Helper() if err != nil { t.Fatal(err) } } wrapServer := func(handler http.Handler) http.Handler { return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { t.Logf("Got a %s request for: %v", r.Method, r.URL)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 08 21:44:00 UTC 2024 - 5.9K bytes - Viewed (0) -
internal/pubsub/pubsub.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Feb 06 16:57:30 UTC 2024 - 5.2K bytes - Viewed (0)