1
0
mirror of https://github.com/rancher/rke.git synced 2025-08-31 14:36:32 +00:00

add ignore_docker_version

This commit is contained in:
moelsayed
2017-12-15 05:02:44 +02:00
parent e30d90f5c4
commit c671552a27
5 changed files with 14 additions and 7 deletions

View File

@@ -40,6 +40,9 @@ func (c *Cluster) InvertIndexHosts() error {
if err := newHost.RegisterDialer(c.Dialer); err != nil {
return fmt.Errorf("Failed to register new Dialer for host [%s]: %v", host.Address, err)
}
newHost.IgnoreDockerVersion = c.IgnoreDockerVersion
for _, role := range host.Role {
logrus.Debugf("Host: " + host.Address + " has role: " + role)
switch role {