Skip to content

Commit

Permalink
fix spelling mistakes
Browse files Browse the repository at this point in the history
  • Loading branch information
JameKeal committed Apr 9, 2022
1 parent 3c0e94d commit 9ac4d7a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pkg/node-servant/revert/revert.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func NewReverterWithOptions(o *Options) *nodeReverter {
}
}

// Do, do the convert job
// Do, do the revert job
// shall be implemented as idempotent, can execute multiple times with no side-affect.
func (n *nodeReverter) Do() error {

Expand Down
2 changes: 1 addition & 1 deletion pkg/yurtctl/cmd/convert/convert.go
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ func (c *ClusterConverter) RunConvert() (err error) {

convertCtx := map[string]string{
"node_servant_image": c.NodeServantImage,
"yurthub_image": c.YurhubImage,
"yurthub_image": c.YurthubImage,
"joinToken": joinToken,
"kubeadm_conf_path": c.KubeadmConfPath,
"working_mode": string(util.WorkingModeEdge),
Expand Down
4 changes: 2 additions & 2 deletions pkg/yurtctl/cmd/convert/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ type ConvertOptions struct {
EnableAppManager bool

SystemArchitecture string
YurhubImage string
YurthubImage string
YurtControllerManagerImage string
NodeServantImage string
YurttunnelServerImage string
Expand Down Expand Up @@ -169,7 +169,7 @@ func (co *ConvertOptions) Complete(flags *pflag.FlagSet) error {
if err != nil {
return err
}
co.YurhubImage = yhi
co.YurthubImage = yhi

ycmi, err := flags.GetString("yurt-controller-manager-image")
if err != nil {
Expand Down

0 comments on commit 9ac4d7a

Please sign in to comment.