mirror of
https://github.com/status-im/consul.git
synced 2025-02-02 08:56:43 +00:00
Remove break
This commit is contained in:
parent
70810b0602
commit
044d027ff8
@ -308,7 +308,6 @@ func DecodeConfigEntry(raw map[string]interface{}) (ConfigEntry, error) {
|
||||
for _, k := range md.Unused {
|
||||
switch {
|
||||
case k == "CreateIndex" || k == "ModifyIndex":
|
||||
break
|
||||
case strings.HasSuffix(strings.ToLower(k), "namespace"):
|
||||
err = multierror.Append(err, fmt.Errorf("invalid config key %q, namespaces is a consul enterprise feature", k))
|
||||
default:
|
||||
|
Loading…
x
Reference in New Issue
Block a user