mirror of
https://github.com/rancher/rke.git
synced 2025-08-17 14:27:01 +00:00
Misc typos/definitions
This commit is contained in:
parent
9766b4cbcd
commit
caa2c524a6
@ -209,7 +209,7 @@ func getHostConfig(reader *bufio.Reader, index int, clusterSSHKeyPath string) (*
|
|||||||
}
|
}
|
||||||
host.User = sshUser
|
host.User = sshUser
|
||||||
|
|
||||||
isControlHost, err := getConfig(reader, fmt.Sprintf("Is host (%s) a control host (y/n)?", address), "y")
|
isControlHost, err := getConfig(reader, fmt.Sprintf("Is host (%s) a Control Plane host (y/n)?", address), "y")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
@ -217,7 +217,7 @@ func getHostConfig(reader *bufio.Reader, index int, clusterSSHKeyPath string) (*
|
|||||||
host.Role = append(host.Role, services.ControlRole)
|
host.Role = append(host.Role, services.ControlRole)
|
||||||
}
|
}
|
||||||
|
|
||||||
isWorkerHost, err := getConfig(reader, fmt.Sprintf("Is host (%s) a worker host (y/n)?", address), "n")
|
isWorkerHost, err := getConfig(reader, fmt.Sprintf("Is host (%s) a Worker host (y/n)?", address), "n")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
@ -225,7 +225,7 @@ func getHostConfig(reader *bufio.Reader, index int, clusterSSHKeyPath string) (*
|
|||||||
host.Role = append(host.Role, services.WorkerRole)
|
host.Role = append(host.Role, services.WorkerRole)
|
||||||
}
|
}
|
||||||
|
|
||||||
isEtcdHost, err := getConfig(reader, fmt.Sprintf("Is host (%s) an Etcd host (y/n)?", address), "n")
|
isEtcdHost, err := getConfig(reader, fmt.Sprintf("Is host (%s) an etcd host (y/n)?", address), "n")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
@ -352,7 +352,7 @@ func getAddonManifests(reader *bufio.Reader) ([]string, error) {
|
|||||||
var addonSlice []string
|
var addonSlice []string
|
||||||
var resume = true
|
var resume = true
|
||||||
|
|
||||||
includeAddons, err := getConfig(reader, "Add addon manifest urls or yaml files", "no")
|
includeAddons, err := getConfig(reader, "Add addon manifest URLs or YAML files", "no")
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
|
Loading…
Reference in New Issue
Block a user