From 044d027ff86b45b72dcf9b6583531a9d43f46fa5 Mon Sep 17 00:00:00 2001 From: freddygv Date: Mon, 22 Jun 2020 19:58:48 -0600 Subject: [PATCH] Remove break --- agent/structs/config_entry.go | 1 - 1 file changed, 1 deletion(-) diff --git a/agent/structs/config_entry.go b/agent/structs/config_entry.go index 5a5536094e..d0ef8157a0 100644 --- a/agent/structs/config_entry.go +++ b/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: