mirror of
https://github.com/xaionaro-go/streamctl.git
synced 2025-10-23 15:33:20 +08:00
Fix the detection if the configs are initialized
This commit is contained in:
@@ -151,7 +151,9 @@ func (RawMessage) GetOrder() int {
|
||||
)
|
||||
}
|
||||
func (RawMessage) IsInitialized() bool {
|
||||
return false
|
||||
panic(
|
||||
"the value is not parsed; don't use the platform config directly, and use function GetPlatformConfig instead",
|
||||
)
|
||||
}
|
||||
|
||||
func (m *RawMessage) UnmarshalJSON(b []byte) error {
|
||||
|
Reference in New Issue
Block a user