From 01b6ad715c5d4ef9b1305e92455e5e6c809fc62b Mon Sep 17 00:00:00 2001 From: zhoulei5 Date: Thu, 9 Sep 2021 18:53:02 +0800 Subject: [PATCH] fix typo; covert->convert --- docs/tutorial/yurt-tunnel.md | 2 +- pkg/yurtctl/cmd/convert/edgenode.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/tutorial/yurt-tunnel.md b/docs/tutorial/yurt-tunnel.md index 8283056ea77..661204b685d 100644 --- a/docs/tutorial/yurt-tunnel.md +++ b/docs/tutorial/yurt-tunnel.md @@ -88,7 +88,7 @@ will hang. ### 5. Setup the yurt-tunnel manually It is recommended to use `yurtctl` tool to deploy yurt-tunnel components by -adding the `--deploy-yurttunnel` option when coverting a Kubernetes cluster. For example, +adding the `--deploy-yurttunnel` option when converting a Kubernetes cluster. For example, ```bash yurtctl convert --cloud-nodes minikube --provider minikube --deploy-yurttunnel ``` diff --git a/pkg/yurtctl/cmd/convert/edgenode.go b/pkg/yurtctl/cmd/convert/edgenode.go index f30f3b122dc..613405a62e1 100644 --- a/pkg/yurtctl/cmd/convert/edgenode.go +++ b/pkg/yurtctl/cmd/convert/edgenode.go @@ -81,7 +81,7 @@ func NewConvertEdgeNodeCmd() *cobra.Command { klog.Fatalf("fail to complete the convert edgenode option: %s", err) } if err := c.RunConvertEdgeNode(); err != nil { - klog.Fatalf("fail to covert the kubernetes node to a yurt node: %s", err) + klog.Fatalf("fail to convert the kubernetes node to a yurt node: %s", err) } }, }