Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for asError (0.25 sec)

  1. pkg/scheduler/internal/queue/scheduling_queue.go

    		if s.IsSuccess() {
    			continue
    		}
    		pInfo.UnschedulablePlugins.Insert(pl.Name())
    		metrics.UnschedulableReason(pl.Name(), pod.Spec.SchedulerName).Inc()
    		if s.Code() == framework.Error {
    			logger.Error(s.AsError(), "Unexpected error running PreEnqueue plugin", "pod", klog.KObj(pod), "plugin", pl.Name())
    		} else {
    			logger.V(4).Info("Status after running PreEnqueue plugin", "pod", klog.KObj(pod), "plugin", pl.Name(), "status", s)
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 61.4K bytes
    - Viewed (0)
  2. configure.py

      """Force symlink, equivalent of 'ln -sf'.
    
      Args:
        target: items to link to.
        link_name: name of the link.
      """
      try:
        os.symlink(target, link_name)
      except OSError as e:
        if e.errno == errno.EEXIST:
          os.remove(link_name)
          os.symlink(target, link_name)
        else:
          raise e
    
    
    def write_to_bazelrc(line):
      with open(_TF_BAZELRC, 'a') as f:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 10 04:32:44 UTC 2024
    - 53.8K bytes
    - Viewed (0)
Back to top