From 80d34000a0a8415869ac12755aed93214d06bbed Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Wed, 28 Feb 2024 09:43:06 -0500 Subject: [PATCH] refactor: store protocol config in root --- config/config.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/config.go b/config/config.go index 8f76a53..cfddcd7 100644 --- a/config/config.go +++ b/config/config.go @@ -92,6 +92,8 @@ func (m *Manager) ConfigureProtocol(name string, cfg ProtocolConfig) error { return err } + m.root.Protocol[name] = cfg + return nil }