Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for failMessage (0.11 sec)

  1. subprojects/core/src/main/java/org/gradle/groovy/scripts/internal/InitialPassStatementTransformer.java

            return statement;
        }
    
        private Statement transformPluginsBlock(ScriptBlock scriptBlock, SourceUnit sourceUnit, Statement statement) {
            String failMessage = null;
    
            if (!scriptTarget.getSupportsPluginsBlock()) {
                failMessage = pluginBlockMetadataCompiler.formatErrorMessage("Only Project and Settings build scripts can contain plugins {} blocks");
            } else {
                seenPluginsBlock = true;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 19 11:25:50 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/AbstractCommandLineOrderTaskIntegrationTest.groovy

                        doLast {
                            ${shouldBlock ? server.callFromTaskAction(path) : ''}
                            ${failMessage ? "throw new RuntimeException('$failMessage')" : ''}
                        }
                    }
                """.stripIndent()
            }
    
            String dependencyFor(TaskFixture task) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  3. src/cmd/doc/main.go

    				return
    			}
    		case pkg.printMethodDoc(symbol, method):
    			return
    		case pkg.printFieldDoc(symbol, method):
    			return
    		}
    	}
    }
    
    // failMessage creates a nicely formatted error message when there is no result to show.
    func failMessage(paths []string, symbol, method string) error {
    	var b bytes.Buffer
    	if len(paths) > 1 {
    		b.WriteString("s")
    	}
    	b.WriteString(" ")
    	for i, path := range paths {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  4. pkg/kubelet/kubelet.go

    			otherActivePods = append(otherActivePods, p)
    		}
    	}
    
    	if ok, failReason, failMessage := kl.canAdmitPod(otherActivePods, podCopy); !ok {
    		// Log reason and return. Let the next sync iteration retry the resize
    		klog.V(3).InfoS("Resize cannot be accommodated", "pod", podCopy.Name, "reason", failReason, "message", failMessage)
    		return false, podCopy, v1.PodResizeStatusDeferred
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
Back to top