fix(config): failed reload should not start providers in new state

This commit is contained in:
yusing
2025-10-10 21:46:02 +08:00
parent 3dedd66ad1
commit 2e411373a2
3 changed files with 19 additions and 14 deletions

View File

@@ -28,6 +28,7 @@ type State interface {
DeleteProvider(key string)
IterProviders() iter.Seq2[string, types.RouteProvider]
NumProviders() int
StartProviders() error
}
// could be nil