fix(archied): the Docker egress proxy and relay do not start under the OpenShell runtime (#1973)

This commit is contained in:
sam committed 2026-11-14 14:22:29 +11:00
1 parent a8f1fc9ea3
commit 90090922e1
1 file changed
+2 -4
+2 -4
View File
@@ -774,10 +774,8 @@ func (b *boot) setupBackends(ctx context.Context) error {
closeContainers := b.setupContainers(ctx)
b.addCleanup(closeContainers)
err := b.connectNATS(ctx)
if err == nil {
if b.modelEgress == nil {
b.setupModelEgress(ctx)
}
if err == nil && b.cfg.Containers.Runtime != config.RuntimeOpenShell {
b.setupModelEgress(ctx)
b.startEgressRelay(ctx)
}
return err