1
0
Fork 0

Can't autorestore and then join a cluster

master
Philip O'Toole 1 year ago
parent 25889fd0fa
commit e5d70724a4

@ -312,6 +312,9 @@ func (c *Config) Validate() error {
if u.Host == c.HTTPAdv || addrs[i] == c.HTTPAddr {
return errors.New("node cannot join with itself unless bootstrapping")
}
if c.AutoRestoreFile != "" {
return errors.New("auto-restoring cannot be used when joining a cluster")
}
}
}
}

Loading…
Cancel
Save