Fix the detection if the configs are initialized

This commit is contained in:
Dmitrii Okunev
2024-10-21 23:10:01 +01:00
parent baafb56c24
commit deeae45f3a
9 changed files with 132 additions and 4 deletions

View File

@@ -11,6 +11,10 @@ type Config = types.Config
type StreamProfile = types.StreamProfile
type PlatformSpecificConfig = types.PlatformSpecificConfig
func init() {
streamctl.RegisterPlatform[PlatformSpecificConfig, StreamProfile](ID)
}
func InitConfig(cfg streamctl.Config) {
types.InitConfig(cfg)
}