fix(gateway): allow zero-channel sandbox startup
- Let gateway startup continue when no channels are configured - Preserve sandbox health and background services without forcing channel setup - Documentation updated in Obsidian vault for docker sandbox runtime findings - Docker verification completed with rebuilt local gateway image
This commit is contained in:
parent
8d608ca1bd
commit
71bf58e0e1
1 changed files with 1 additions and 2 deletions
|
|
@ -8,7 +8,6 @@ package channels
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"errors"
|
|
||||||
"net/http"
|
"net/http"
|
||||||
"sync"
|
"sync"
|
||||||
"time"
|
"time"
|
||||||
|
|
@ -162,7 +161,7 @@ func (m *Manager) StartAll(ctx context.Context) error {
|
||||||
|
|
||||||
if len(m.channels) == 0 {
|
if len(m.channels) == 0 {
|
||||||
logger.WarnC("channels", "No channels enabled")
|
logger.WarnC("channels", "No channels enabled")
|
||||||
return errors.New("no channels enabled")
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
logger.InfoC("channels", "Starting all channels")
|
logger.InfoC("channels", "Starting all channels")
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue