return better error

pull/13124/head
Sharif Elgamal 2021-12-07 16:10:04 -08:00
parent 6b7168cf4b
commit b9e9df130a
1 changed files with 1 additions and 1 deletions

View File

@ -1286,7 +1286,7 @@ func validateRuntime(rtime string) error {
}
if (rtime == "crio" || rtime == "cri-o") && strings.HasPrefix(runtime.GOARCH, "ppc64") {
return errors.Errorf("The CRI-O runtime is not compatible with the ppc architecture.")
return errors.New("The CRI-O runtime is not compatible with the ppc architecture.")
}
if !validRuntime {