fix spelling and grammar in Go files
parent
0549bff73c
commit
d7baa13960
|
@ -197,7 +197,7 @@ func startKicServiceTunnel(services service.URLs, configName, driverName string)
|
||||||
urls, err = mutateURLs(svc.Name, urls)
|
urls, err = mutateURLs(svc.Name, urls)
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
exit.Error(reason.SvcTunnelStart, "error creatings urls", err)
|
exit.Error(reason.SvcTunnelStart, "error creating urls", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
defer serviceTunnel.Stop()
|
defer serviceTunnel.Stop()
|
||||||
|
|
|
@ -507,7 +507,7 @@ func showKubectlInfo(kcs *kubeconfig.Settings, k8sVersion, rtime, machineName st
|
||||||
|
|
||||||
if client.Major != cluster.Major || minorSkew > 1 {
|
if client.Major != cluster.Major || minorSkew > 1 {
|
||||||
out.Ln("")
|
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.V{"path": path, "client_version": client, "cluster_version": cluster})
|
||||||
out.Infof("Want kubectl {{.version}}? Try 'minikube kubectl -- get pods -A'", out.V{"version": k8sVersion})
|
out.Infof("Want kubectl {{.version}}? Try 'minikube kubectl -- get pods -A'", out.V{"version": k8sVersion})
|
||||||
}
|
}
|
||||||
|
|
|
@ -79,7 +79,7 @@ func DeleteContainersByLabel(ociBin string, label string) []error {
|
||||||
func DeleteContainer(ctx context.Context, ociBin string, name string) error {
|
func DeleteContainer(ctx context.Context, ociBin string, name string) error {
|
||||||
_, err := ContainerStatus(ociBin, name)
|
_, err := ContainerStatus(ociBin, name)
|
||||||
if err == context.DeadlineExceeded {
|
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 {
|
} else if err != nil {
|
||||||
klog.Warningf("error getting container status, will try to delete anyways: %v", err)
|
klog.Warningf("error getting container status, will try to delete anyways: %v", err)
|
||||||
}
|
}
|
||||||
|
|
|
@ -1265,7 +1265,7 @@ var serviceIssues = []match{
|
||||||
Kind: Kind{
|
Kind: Kind{
|
||||||
ID: "SVC_OPEN_NOT_FOUND",
|
ID: "SVC_OPEN_NOT_FOUND",
|
||||||
ExitCode: ExSvcNotFound,
|
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},
|
Issues: []int{5836},
|
||||||
},
|
},
|
||||||
Regexp: re(`Error opening service.*not found`),
|
Regexp: re(`Error opening service.*not found`),
|
||||||
|
|
Loading…
Reference in New Issue