mirror of
https://github.com/rancher/rke.git
synced 2025-08-12 04:03:01 +00:00
Typo
This commit is contained in:
parent
fce6b15f18
commit
2a72d7057a
@ -59,7 +59,7 @@ func validateNetworkOptions(c *Cluster) error {
|
|||||||
func validateHostsOptions(c *Cluster) error {
|
func validateHostsOptions(c *Cluster) error {
|
||||||
for i, host := range c.Nodes {
|
for i, host := range c.Nodes {
|
||||||
if len(host.Address) == 0 {
|
if len(host.Address) == 0 {
|
||||||
return fmt.Errorf("User for host (%d) is not provided", i+1)
|
return fmt.Errorf("Address for host (%d) is not provided", i+1)
|
||||||
}
|
}
|
||||||
if len(host.User) == 0 {
|
if len(host.User) == 0 {
|
||||||
return fmt.Errorf("User for host (%d) is not provided", i+1)
|
return fmt.Errorf("User for host (%d) is not provided", i+1)
|
||||||
|
Loading…
Reference in New Issue
Block a user