mirror of
https://github.com/kemko/nomad.git
synced 2026-01-05 09:55:44 +03:00
avoid setting resource limit on rkt command
Was accidentally modified in 5b14d24bf4 .
This commit is contained in:
@@ -671,16 +671,6 @@ func (d *RktDriver) Start(ctx *ExecContext, task *structs.Task) (*StartResponse,
|
||||
Cmd: absPath,
|
||||
Args: runArgs,
|
||||
ResourceLimits: true,
|
||||
Resources: &executor.Resources{
|
||||
CPU: task.Resources.CPU,
|
||||
MemoryMB: task.Resources.MemoryMB,
|
||||
IOPS: task.Resources.IOPS,
|
||||
DiskMB: task.Resources.DiskMB,
|
||||
},
|
||||
Env: ctx.TaskEnv.List(),
|
||||
TaskDir: ctx.TaskDir.Dir,
|
||||
StdoutPath: ctx.StdoutFifo,
|
||||
StderrPath: ctx.StderrFifo,
|
||||
}
|
||||
ps, err := execIntf.Launch(execCmd)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user