Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 43 for errString (0.25 sec)

  1. pkg/kubelet/cm/dra/claiminfo_test.go

    		},
    		{
    			description: "successfully called function",
    			funcGen: func(cache *claimInfoCache) func() error {
    				return func() error {
    					return nil
    				}
    			},
    		},
    		{
    			description: "erroring function",
    			funcGen: func(cache *claimInfoCache) func() error {
    				return func() error {
    					return errors.New("test error")
    				}
    			},
    			wantErr: true,
    		},
    	} {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 03 13:30:31 UTC 2024
    - 21K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/api/v1/cluster_tf.cc

        }
    
        return mlir::WalkResult::advance();
      });
    
      if (num_submodules > 1) {
        auto num_submodules_error = absl::InternalError(
            "V1 Compat Bridge has more than one submodule. Erroring out.");
        TF_RETURN_IF_ERROR(RecordStatusIfError(
            /*error_prefix=*/"Bridge has more than one submodule:",
            is_in_fallback_enabled_mode, num_submodules_error));
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 28 22:25:18 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  3. src/runtime/runtime-gdb_unix_test.go

    	if _, err := r.Read(buf[:]); err != io.EOF {
    		t.Fatalf("control pipe read get err %v want io.EOF", err)
    	}
    
    	// 💥
    	if err := cmd.Process.Signal(os.Signal(syscall.SIGABRT)); err != nil {
    		t.Fatalf("erroring signaling child: %v", err)
    	}
    
    	err = cmd.Wait()
    	t.Logf("child output:\n%s", output.String())
    	if err == nil {
    		t.Fatalf("Wait succeeded, want SIGABRT")
    	}
    	ee, ok := err.(*exec.ExitError)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 17 19:05:30 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/util/yaml/decoder.go

    			return err
    		}
    		return jsonutil.ConvertInterfaceNumbers(v, 0)
    	default:
    		return yaml.Unmarshal(data, v)
    	}
    }
    
    // UnmarshalStrict unmarshals the given data
    // strictly (erroring when there are duplicate fields).
    func UnmarshalStrict(data []byte, v interface{}) error {
    	preserveIntFloat := func(d *json.Decoder) *json.Decoder {
    		d.UseNumber()
    		return d
    	}
    	switch v := v.(type) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 19 21:24:36 UTC 2021
    - 10.2K bytes
    - Viewed (0)
  5. pkg/controller/disruption/disruption.go

    	if err != nil {
    		dc.recorder.Eventf(pdb, v1.EventTypeWarning, "CalculateExpectedPodCountFailed", "Failed to calculate the number of expected pods: %v", err)
    		return err
    	}
    	// We have unmamanged pods, instead of erroring and hotlooping in disruption controller, log and continue.
    	if len(unmanagedPods) > 0 {
    		logger.V(4).Info("Found unmanaged pods associated with this PDB", "pods", unmanagedPods)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 36.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/internal/passes/tpu_cluster_formation.cc

        if (data_predecessor || control_predecessor) {
          if (cluster_predecessor_ops.contains(&op)) {
            // Op has a dependency from and to the cluster which is invalid. Instead
            // of erroring out we don't add the op to `cluster_successor_ops` which
            // is in line with previous behavior when certain control dependencies
            // were not considered.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 22:03:30 UTC 2024
    - 39.3K bytes
    - Viewed (0)
  7. pkg/controller/disruption/disruption_test.go

    	add(t, dc.podStore, pod)
    	dc.sync(ctx, pdbName)
    
    	ps.VerifyDisruptionAllowed(t, pdbName, 0)
    	verifyEventEmitted(t, dc, "CalculateExpectedPodCountFailed")
    }
    
    // Verify that disruption controller is not erroring when unmanaged pods are found
    func TestStatusForUnmanagedPod(t *testing.T) {
    	_, ctx := ktesting.NewTestContext(t)
    	dc, ps := newFakeDisruptionController(ctx)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 50K bytes
    - Viewed (0)
  8. cmd/storage-rest-server.go

    // or informative based on the `exit` flag, please look
    // at each implementation of error for added hints.
    //
    // FIXME: This is an unusual function but serves its purpose for
    // now, need to revisit the overall erroring structure here.
    // Do not like it :-(
    func logFatalErrs(err error, endpoint Endpoint, exit bool) {
    	switch {
    	case errors.Is(err, errXLBackend):
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 44.8K bytes
    - Viewed (0)
  9. src/cmd/go/internal/modget/get.go

    				// may downgrade this module out of the build list entirely, in which
    				// case the pattern will no longer include it and it won't be an error.
    				//
    				// Either way, punt on the query rather than erroring out just yet.
    				return pathSet{}
    			}
    
    			return r.tryWildcard(ctx, q, m)
    		})
    	}
    
    	// Even if no modules matched, we shouldn't query for a new module to provide
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 18:26:32 UTC 2024
    - 66.5K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.20.md

    - Kubeadm: relax the validation of kubeconfig server URLs. Allow the user to define custom kubeconfig server URLs without erroring out during validation of existing kubeconfig files (e.g. when using external CA mode). ([#94816](https://github.com/kubernetes/kubernetes/pull/94816), [@neolit123](https://github.com/neolit123)) [SIG Cluster Lifecycle]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 19 21:05:45 UTC 2022
    - 409K bytes
    - Viewed (0)
Back to top