1
0
mirror of https://github.com/rancher/rke.git synced 2025-04-28 03:31:24 +00:00
This commit is contained in:
Darren Shepherd 2018-02-26 16:27:18 -07:00
parent fce6b15f18
commit 2a72d7057a

View File

@ -59,7 +59,7 @@ func validateNetworkOptions(c *Cluster) error {
func validateHostsOptions(c *Cluster) error {
for i, host := range c.Nodes {
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 {
return fmt.Errorf("User for host (%d) is not provided", i+1)