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")
|
||||
|
||||
@@ -24,7 +24,6 @@ func TestParseHexColor(t *testing.T) {
|
||||
|
||||
// Perform the table driven tests.
|
||||
for _, ct := range colorTestCases {
|
||||
|
||||
color, err := ParseHexColor(ct.test)
|
||||
if !ct.valid && err == nil {
|
||||
t.Fatalf("Invalid color string: %s, should return "+
|
||||
|
||||
Reference in new issue
Block a user