apply lowercase trailing "d's"

pull/14555/head
klaases 2022-07-25 21:29:34 +00:00
parent 522914302e
commit 61181650bc
2 changed files with 4 additions and 4 deletions

View File

@ -323,10 +323,10 @@ func postStartSetup(h *host.Host, mc config.ClusterConfig) error {
}
if k8sVer.GTE(semver.Version{Major: 1, Minor: 24}) {
if _, err := exec.LookPath("cri-dockerd"); err != nil {
exit.Message(reason.NotFoundCriDockerD, "\n\n")
exit.Message(reason.NotFoundCriDockerd, "\n\n")
}
if _, err := exec.LookPath("dockerd"); err != nil {
exit.Message(reason.NotFoundDockerD, "\n\n")
exit.Message(reason.NotFoundDockerd, "\n\n")
}
}
}

View File

@ -461,7 +461,7 @@ var (
Style: style.SeeNoEvil,
}
NotFoundCriDockerD = Kind{
NotFoundCriDockerd = Kind{
ID: "NOT_FOUND_CRI_DOCKERD",
ExitCode: ExProgramNotFound,
Advice: translate.T(`The none driver with Kubernetes v1.24+ requires cri-dockerd.
@ -471,7 +471,7 @@ var (
https://github.com/Mirantis/cri-dockerd#build-and-install`),
Style: style.Docker,
}
NotFoundDockerD = Kind{
NotFoundDockerd = Kind{
ID: "NOT_FOUND_DOCKERD",
ExitCode: ExProgramNotFound,
Advice: translate.T(`The none driver with Kubernetes v1.24+ requires dockerd.