Remove break
This commit is contained in:
parent
e81b6d25ad
commit
c631e7496a
|
@ -308,7 +308,6 @@ func DecodeConfigEntry(raw map[string]interface{}) (ConfigEntry, error) {
|
||||||
for _, k := range md.Unused {
|
for _, k := range md.Unused {
|
||||||
switch {
|
switch {
|
||||||
case k == "CreateIndex" || k == "ModifyIndex":
|
case k == "CreateIndex" || k == "ModifyIndex":
|
||||||
break
|
|
||||||
case strings.HasSuffix(strings.ToLower(k), "namespace"):
|
case strings.HasSuffix(strings.ToLower(k), "namespace"):
|
||||||
err = multierror.Append(err, fmt.Errorf("invalid config key %q, namespaces is a consul enterprise feature", k))
|
err = multierror.Append(err, fmt.Errorf("invalid config key %q, namespaces is a consul enterprise feature", k))
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in a new issue