fix(archied): the Docker egress proxy and relay do not start under the OpenShell runtime (#1973)
This commit is contained in:
1 file changed
+2
-4
@@ -774,10 +774,8 @@ func (b *boot) setupBackends(ctx context.Context) error {
|
|||||||
closeContainers := b.setupContainers(ctx)
|
closeContainers := b.setupContainers(ctx)
|
||||||
b.addCleanup(closeContainers)
|
b.addCleanup(closeContainers)
|
||||||
err := b.connectNATS(ctx)
|
err := b.connectNATS(ctx)
|
||||||
if err == nil {
|
if err == nil && b.cfg.Containers.Runtime != config.RuntimeOpenShell {
|
||||||
if b.modelEgress == nil {
|
b.setupModelEgress(ctx)
|
||||||
b.setupModelEgress(ctx)
|
|
||||||
}
|
|
||||||
b.startEgressRelay(ctx)
|
b.startEgressRelay(ctx)
|
||||||
}
|
}
|
||||||
return err
|
return err
|
||||||
|
|||||||
Reference in new issue
Block a user