fix spelling and grammar in Go files

pull/15279/head
Rahil Patel 2022-11-03 17:15:57 -04:00
parent 0549bff73c
commit d7baa13960
No known key found for this signature in database
GPG Key ID: E62D424F213220B9
4 changed files with 4 additions and 4 deletions

View File

@ -197,7 +197,7 @@ func startKicServiceTunnel(services service.URLs, configName, driverName string)
urls, err = mutateURLs(svc.Name, urls)
if err != nil {
exit.Error(reason.SvcTunnelStart, "error creatings urls", err)
exit.Error(reason.SvcTunnelStart, "error creating urls", err)
}
defer serviceTunnel.Stop()

View File

@ -507,7 +507,7 @@ func showKubectlInfo(kcs *kubeconfig.Settings, k8sVersion, rtime, machineName st
if client.Major != cluster.Major || minorSkew > 1 {
out.Ln("")
out.WarningT("{{.path}} is version {{.client_version}}, which may have incompatibilites with Kubernetes {{.cluster_version}}.",
out.WarningT("{{.path}} is version {{.client_version}}, which may have incompatibilities with Kubernetes {{.cluster_version}}.",
out.V{"path": path, "client_version": client, "cluster_version": cluster})
out.Infof("Want kubectl {{.version}}? Try 'minikube kubectl -- get pods -A'", out.V{"version": k8sVersion})
}

View File

@ -79,7 +79,7 @@ func DeleteContainersByLabel(ociBin string, label string) []error {
func DeleteContainer(ctx context.Context, ociBin string, name string) error {
_, err := ContainerStatus(ociBin, name)
if err == context.DeadlineExceeded {
out.WarningT("{{.ocibin}} is taking an unsually long time to respond, consider restarting {{.ocibin}}", out.V{"ociBin": ociBin})
out.WarningT("{{.ocibin}} is taking an unusually long time to respond, consider restarting {{.ocibin}}", out.V{"ociBin": ociBin})
} else if err != nil {
klog.Warningf("error getting container status, will try to delete anyways: %v", err)
}

View File

@ -1265,7 +1265,7 @@ var serviceIssues = []match{
Kind: Kind{
ID: "SVC_OPEN_NOT_FOUND",
ExitCode: ExSvcNotFound,
Advice: "Use 'kubect get po -A' to find the correct and namespace name",
Advice: "Use 'kubectl get po -A' to find the correct and namespace name",
Issues: []int{5836},
},
Regexp: re(`Error opening service.*not found`),