fix(pprof): override operation in global settings

This commit is contained in:
Quentin McGaw
2022-06-18 00:16:14 +00:00
parent 4952e3b74e
commit 75454be6b6

View File

@@ -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