mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 10:25:42 +03:00
Not syncing stdout and stderr of pluging with client
This commit is contained in:
@@ -148,8 +148,10 @@ func (d *JavaDriver) Start(ctx *ExecContext, task *structs.Task) (DriverHandle,
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("unable to find the nomad binary: %v", err)
|
||||
}
|
||||
|
||||
pluginLogFile := filepath.Join(ctx.AllocDir.AllocDir, "plugin.out")
|
||||
pluginConfig := &plugin.ClientConfig{
|
||||
Cmd: exec.Command(bin, "executor"),
|
||||
Cmd: exec.Command(bin, "executor", pluginLogFile),
|
||||
}
|
||||
|
||||
exec, pluginClient, err := createExecutor(pluginConfig, d.config.LogOutput)
|
||||
|
||||
Reference in New Issue
Block a user