multi: formatting and comment fixes

This commit is contained in:
Oliver Gugger committed 2022-02-10 11:02:02 +01:00
1 parent ffee7d1bcf
commit 895a2e497b
160 files changed
+159 -260

No files matched your search

-1
View File
@@ -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")
-1
View File
@@ -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 "+