diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-11-25 17:33:56 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-11-25 17:34:10 +0000 |
commit | 83ba6762cc43d9db581b979bb5e3445669e46cc2 (patch) | |
tree | 2e69833b43f791ed253a7a20318b767ebe56cdb8 /src/go/plugin/go.d/agent/config.go | |
parent | Releasing debian version 1.47.5-1. (diff) | |
download | netdata-83ba6762cc43d9db581b979bb5e3445669e46cc2.tar.xz netdata-83ba6762cc43d9db581b979bb5e3445669e46cc2.zip |
Merging upstream version 2.0.3+dfsg (Closes: #923993, #1042533, #1045145).
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/go/plugin/go.d/agent/config.go')
-rw-r--r-- | src/go/plugin/go.d/agent/config.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/go/plugin/go.d/agent/config.go b/src/go/plugin/go.d/agent/config.go index fef68c7e0..e0c3f4605 100644 --- a/src/go/plugin/go.d/agent/config.go +++ b/src/go/plugin/go.d/agent/config.go @@ -47,13 +47,13 @@ func (c *config) isEnabled(moduleName string, explicit bool) bool { return c.DefaultRun } -func (c *config) UnmarshalYAML(unmarshal func(interface{}) error) error { +func (c *config) UnmarshalYAML(unmarshal func(any) error) error { type plain config if err := unmarshal((*plain)(c)); err != nil { return err } - var m map[string]interface{} + var m map[string]any if err := unmarshal(&m); err != nil { return err } |