1
0
Fork 0

Disco mode not supported when explicitly joining

master
Philip O'Toole 9 months ago
parent 329485f0ba
commit 46bcdb7f23

@ -305,6 +305,10 @@ func (c *Config) Validate() error {
} }
} }
} }
if c.DiscoMode != "" {
return errors.New("disco mode cannot be used when also explicitly joining a cluster")
}
} }
// Valid disco mode? // Valid disco mode?

Loading…
Cancel
Save