Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. pkg/scheduler/framework/runtime/framework.go

    				// https://github.com/kubernetes/kubernetes/issues/119770
    				returnStatus = s
    				continue
    			}
    			return nil, framework.AsStatus(fmt.Errorf("running PreFilter plugin %q: %w", pl.Name(), s.AsError())).WithPlugin(pl.Name())
    		}
    		if !r.AllNodes() {
    			pluginsWithNodes = append(pluginsWithNodes, pl.Name())
    		}
    		result = result.Merge(r)
    		if !result.AllNodes() && len(result.NodeNames) == 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 60.9K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/defaultpreemption/default_preemption_test.go

    			}
    
    			res, status := pe.Preempt(ctx, test.pod, nodeToStatusMap)
    			if !status.IsSuccess() && !status.IsRejected() {
    				t.Errorf("unexpected error in preemption: %v", status.AsError())
    			}
    			if diff := cmp.Diff(test.want, res); diff != "" {
    				t.Errorf("Unexpected status (-want, +got):\n%s", diff)
    			}
    			if len(deletedPodNames) != len(test.expectedPods) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  3. 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)
  4. src/cmd/go/internal/modload/buildlist.go

    	}
    
    	var graphRoots []module.Version
    	if inWorkspaceMode() {
    		graphRoots = roots
    	} else {
    		graphRoots = MainModules.Versions()
    	}
    	var (
    		mu       sync.Mutex // guards mg.g and hasError during loading
    		hasError bool
    		mg       = &ModuleGraph{
    			g: mvs.NewGraph(cmpVersion, graphRoots),
    		}
    	)
    
    	if pruning != workspace {
    		if inWorkspaceMode() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 16:04:44 UTC 2024
    - 53.8K bytes
    - Viewed (0)
  5. src/cmd/cgo/gcc.go

    		// to where the expansion occurs. We care about where
    		// the expansion occurs, so in that case treat the note
    		// as an error.
    		isError := strings.Contains(line, ": error:")
    		isErrorNote := strings.Contains(line, ": note:") && sawUnmatchedErrors
    		if !isError && !isErrorNote {
    			continue
    		}
    
    		c1 := strings.Index(line, ":")
    		if c1 < 0 {
    			continue
    		}
    		c2 := strings.Index(line[c1+1:], ":")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  6. 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)
  7. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/configurations/DefaultConfigurationSpec.groovy

            }
    
            def legacyResults = DefaultResolverResults.DefaultLegacyResolverResults.graphResolved(
                depSpec -> selectedArtifacts(failure),
                Mock(ResolvedConfiguration) {
                    hasError() >> true
                }
            )
    
            DefaultResolverResults.graphResolved(visitedGraphResults, visitedArtifactSet, legacyResults)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 17:30:13 UTC 2024
    - 64.8K bytes
    - Viewed (0)
Back to top