Browse Source

Remove break

pull/8169/head
freddygv 4 years ago
parent
commit
044d027ff8
  1. 1
      agent/structs/config_entry.go

1
agent/structs/config_entry.go

@ -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…
Cancel
Save