Skip to content

Commit

Permalink
BUG/MINOR: properly pass option to underline function
Browse files Browse the repository at this point in the history
  • Loading branch information
oktalz committed Feb 27, 2024
1 parent d79bf18 commit d05e585
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runtime/runtime_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand All @@ -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
}
Expand Down

0 comments on commit d05e585

Please sign in to comment.