multi: formatting and comment fixes
This commit is contained in:
160 files changed
+159
-260
No files matched your search
@@ -57,7 +57,6 @@ func (c *Cluster) Validate() error {
|
||||
}
|
||||
|
||||
switch c.LeaderElector {
|
||||
|
||||
case cluster.EtcdLeaderElector:
|
||||
if c.EtcdElectionPrefix == "" {
|
||||
return fmt.Errorf("etcd-election-prefix must be set")
|
||||
|
||||
Reference in new issue
Block a user