fix(config): nil panic introduced in ff934a4bb2911f5fa3c23d8fe6fea252d881fdc3; remove duplicated log

This commit is contained in:
yusing
2025-12-16 15:04:21 +08:00
parent 0a3332bd10
commit ba8d23fada
3 changed files with 4 additions and 16 deletions

View File

@@ -36,7 +36,7 @@ type State interface {
// could be nil before first call on Load
var ActiveState synk.Value[State]
// nil-safe while loading config, nil otherwise
// working state while loading config, same as ActiveState after successful load
var WorkingState synk.Value[State]
var ErrConfigChanged = errors.New("config changed")