From 034ba9a0dead99669ad11d61f23fd82fb8295b61 Mon Sep 17 00:00:00 2001 From: Wang Date: Thu, 14 Apr 2022 18:55:30 -0700 Subject: [PATCH] typo fix; (#2480) --- plugins/config/source/consul/util.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/config/source/consul/util.go b/plugins/config/source/consul/util.go index be613cb8..0f1084b5 100644 --- a/plugins/config/source/consul/util.go +++ b/plugins/config/source/consul/util.go @@ -54,7 +54,7 @@ func makeMap(e encoder.Encoder, kv api.KVPairs, stripPrefix string) (map[string] case mapV.Decode(e, v.Value) == nil: val = mapV default: - return nil, fmt.Errorf("faild decode value. path: %s, error: %s", pathString, err) + return nil, fmt.Errorf("failed decode value. path: %s, error: %s", pathString, err) } }