MCPcopy
hub / github.com/kubernetes/test-infra / Error

Method Error

kubetest/e2e.go:511–525  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

509}
510
511func (e *commandError) Error() string {
512 if e == nil {
513 return ""
514 }
515 exitErr, ok := e.err.(*exec.ExitError)
516 if !ok {
517 return e.err.Error()
518 }
519
520 stderr := ""
521 if exitErr.Stderr != nil {
522 stderr = string(stderr)
523 }
524 return fmt.Sprintf("%q: %q", exitErr.Error(), stderr)
525}
526
527func isUp(d deployer) error {
528 n, err := clusterSize(d)

Callers 15

initFunction · 0.45
runCmdInDirFunction · 0.45
mainFunction · 0.45
runCmdInDirFunction · 0.45
mainFunction · 0.45
TestSummarizeFunction · 0.45
TestLoadYAMLFunction · 0.45
loadLabelsFunction · 0.45
mainFunction · 0.45
TestDumpProfileNoFilesFunction · 0.45
TestBlocksEqualValidFunction · 0.45

Calls

no outgoing calls

Tested by 14

TestSummarizeFunction · 0.36
TestLoadYAMLFunction · 0.36
TestDumpProfileNoFilesFunction · 0.36
TestBlocksEqualValidFunction · 0.36
TestBlocksEqualBadEndColFunction · 0.36
TestParseBucketFunction · 0.36