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)
|
||||
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
|
||||
|
||||
Reference in new issue
Block a user