From a39238ece27cfdae71fdffebff5667db43699fc3 Mon Sep 17 00:00:00 2001 From: Patrik Freij Date: Sat, 6 Mar 2021 13:30:02 +0100 Subject: [PATCH] Correct spelling of "Expected formats" --- cmd/minikube/cmd/start.go | 8 ++++---- translations/ko.json | 2 +- translations/strings.txt | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/cmd/minikube/cmd/start.go b/cmd/minikube/cmd/start.go index 217fcd4b5b..c80ae3b5ff 100644 --- a/cmd/minikube/cmd/start.go +++ b/cmd/minikube/cmd/start.go @@ -1209,7 +1209,7 @@ func validateInsecureRegistry() { i := strings.Index(addr, "//") addr = addr[i+2:] } else if strings.Contains(addr, "://") || strings.HasSuffix(addr, ":") { - exit.Message(reason.Usage, "Sorry, the address provided with the --insecure-registry flag is invalid: {{.addr}}. Expected formtas are: [:], [:] or /", out.V{"addr": addr}) + exit.Message(reason.Usage, "Sorry, the address provided with the --insecure-registry flag is invalid: {{.addr}}. Expected formats are: [:], [:] or /", out.V{"addr": addr}) } hostnameOrIP, port, err := net.SplitHostPort(addr) if err != nil { @@ -1221,15 +1221,15 @@ func validateInsecureRegistry() { } if !hostRe.MatchString(hostnameOrIP) && net.ParseIP(hostnameOrIP) == nil { // fmt.Printf("This is not hostname or ip %s", hostnameOrIP) - exit.Message(reason.Usage, "Sorry, the address provided with the --insecure-registry flag is invalid: {{.addr}}. Expected formtas are: [:], [:] or /", out.V{"addr": addr}) + exit.Message(reason.Usage, "Sorry, the address provided with the --insecure-registry flag is invalid: {{.addr}}. Expected formats are: [:], [:] or /", out.V{"addr": addr}) } if port != "" { v, err := strconv.Atoi(port) if err != nil { - exit.Message(reason.Usage, "Sorry, the address provided with the --insecure-registry flag is invalid: {{.addr}}. Expected formtas are: [:], [:] or /", out.V{"addr": addr}) + exit.Message(reason.Usage, "Sorry, the address provided with the --insecure-registry flag is invalid: {{.addr}}. Expected formats are: [:], [:] or /", out.V{"addr": addr}) } if v < 0 || v > 65535 { - exit.Message(reason.Usage, "Sorry, the address provided with the --insecure-registry flag is invalid: {{.addr}}. Expected formtas are: [:], [:] or /", out.V{"addr": addr}) + exit.Message(reason.Usage, "Sorry, the address provided with the --insecure-registry flag is invalid: {{.addr}}. Expected formats are: [:], [:] or /", out.V{"addr": addr}) } } } diff --git a/translations/ko.json b/translations/ko.json index 1fb76383b3..d9093b2f1d 100644 --- a/translations/ko.json +++ b/translations/ko.json @@ -420,7 +420,7 @@ "Sorry, Kubernetes {{.version}} is not supported by this release of minikube": "죄송합니다, 쿠버네티스 {{.version}} 는 해당 minikube 버전에서 지원하지 않습니다", "Sorry, completion support is not yet implemented for {{.name}}": "", "Sorry, please set the --output flag to one of the following valid options: [text,json]": "", - "Sorry, the address provided with the --insecure-registry flag is invalid: {{.addr}}. Expected formtas are: \u003cip\u003e:\u003cport\u003e, \u003chostname\u003e:\u003cport\u003e or \u003cnetwork\u003e/\u003cnetmask\u003e": "", + "Sorry, the address provided with the --insecure-registry flag is invalid: {{.addr}}. Expected formats are: \u003cip\u003e:\u003cport\u003e, \u003chostname\u003e:\u003cport\u003e or \u003cnetwork\u003e/\u003cnetmask\u003e": "", "Sorry, the kubeadm.{{.parameter_name}} parameter is currently not supported by --extra-config": "", "Sorry, the url provided with the --registry-mirror flag is invalid: {{.url}}": "", "Sorry, {{.driver}} does not allow mounts to be changed after container creation (previous mount: '{{.old}}', new mount: '{{.new}})'": "", diff --git a/translations/strings.txt b/translations/strings.txt index c131b03eca..8a162a6928 100644 --- a/translations/strings.txt +++ b/translations/strings.txt @@ -370,7 +370,7 @@ "Sorry, Kubernetes {{.k8sVersion}} requires conntrack to be installed in root's path": "", "Sorry, completion support is not yet implemented for {{.name}}": "", "Sorry, please set the --output flag to one of the following valid options: [text,json]": "", - "Sorry, the address provided with the --insecure-registry flag is invalid: {{.addr}}. Expected formtas are: \u003cip\u003e:\u003cport\u003e, \u003chostname\u003e:\u003cport\u003e or \u003cnetwork\u003e/\u003cnetmask\u003e": "", + "Sorry, the address provided with the --insecure-registry flag is invalid: {{.addr}}. Expected formats are: \u003cip\u003e:\u003cport\u003e, \u003chostname\u003e:\u003cport\u003e or \u003cnetwork\u003e/\u003cnetmask\u003e": "", "Sorry, the kubeadm.{{.parameter_name}} parameter is currently not supported by --extra-config": "", "Sorry, the url provided with the --registry-mirror flag is invalid: {{.url}}": "", "Sorry, {{.driver}} does not allow mounts to be changed after container creation (previous mount: '{{.old}}', new mount: '{{.new}})'": "",