From 86be1f81bd907875e74597184ea46c42b1bf5b96 Mon Sep 17 00:00:00 2001 From: Zlatko Bratkovic Date: Tue, 27 Feb 2024 15:10:56 +0100 Subject: [PATCH] BUG/MINOR: properly pass option to underline function --- runtime/runtime_client.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/runtime_client.go b/runtime/runtime_client.go index 04225ef9..781fcad4 100644 --- a/runtime/runtime_client.go +++ b/runtime/runtime_client.go @@ -54,7 +54,7 @@ func (c *client) initWithSockets(ctx context.Context, opt options.RuntimeOptions c.runtimes = make([]SingleRuntime, 0) for process, path := range socketPath { runtime := SingleRuntime{} - err := runtime.Init(ctx, path, 0, process) + err := runtime.Init(ctx, path, 0, process, opt) if err != nil { return err } @@ -76,7 +76,7 @@ func (c *client) initWithMasterSocket(ctx context.Context, opt options.RuntimeOp c.runtimes = make([]SingleRuntime, nbproc) for i := 1; i <= nbproc; i++ { runtime := SingleRuntime{} - err := runtime.Init(ctx, masterSocketPath, i, i) + err := runtime.Init(ctx, masterSocketPath, i, i, opt) if err != nil { return err }