refactor: wrap in a module

This commit is contained in:
Derrick Hammer 2024-01-28 03:03:29 -05:00
parent 80484079d6
commit 4a66be5b87
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ func BuildProtocols(config *viper.Viper) fx.Option {
}
}
return fx.Options(options...)
return fx.Module("protocol", fx.Options(options...))
}
func SetupLifecycles(lifecycle fx.Lifecycle, protocols []registry.Protocol) {