From 75454be6b6d7d6d4e9e9c041f0ef98d549aa546a Mon Sep 17 00:00:00 2001 From: Quentin McGaw Date: Sat, 18 Jun 2022 00:16:14 +0000 Subject: [PATCH] fix(pprof): override operation in global settings --- internal/configuration/settings/settings.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/configuration/settings/settings.go b/internal/configuration/settings/settings.go index ba35927f..74fb6df2 100644 --- a/internal/configuration/settings/settings.go +++ b/internal/configuration/settings/settings.go @@ -109,7 +109,7 @@ func (s *Settings) OverrideWith(other Settings, patchedSettings.Updater.overrideWith(other.Updater) patchedSettings.Version.overrideWith(other.Version) patchedSettings.VPN.overrideWith(other.VPN) - patchedSettings.Pprof.MergeWith(other.Pprof) + patchedSettings.Pprof.OverrideWith(other.Pprof) err = patchedSettings.Validate(storage) if err != nil { return err