Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -31,25 +31,25 @@ public class PeonCommandContext
private final List<String> javaOpts;
private final File taskDir;
private final boolean enableTls;
private final int CpuMicroCore;
private final int cpuMicroCore;

public PeonCommandContext(List<String> comamnd, List<String> javaOpts, File taskDir, int CpuMicroCore)
public PeonCommandContext(List<String> comamnd, List<String> javaOpts, File taskDir, int cpuMicroCore)
{
this(comamnd, javaOpts, taskDir, CpuMicroCore, false);
this(comamnd, javaOpts, taskDir, cpuMicroCore, false);
}

public PeonCommandContext(
List<String> comamnd,
List<String> javaOpts,
File taskDir,
int CpuMicroCore,
int cpuMicroCore,
boolean enableTls
)
{
this.comamnd = comamnd;
this.javaOpts = javaOpts;
this.taskDir = taskDir;
this.CpuMicroCore = CpuMicroCore;
this.cpuMicroCore = cpuMicroCore;
this.enableTls = enableTls;
}

Expand All @@ -76,7 +76,7 @@ public File getTaskDir()

public int getCpuMicroCore()
{
return CpuMicroCore;
return cpuMicroCore;
}

public boolean isEnableTls()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,4 @@ spec:
ephemeral-storage: 1Gi
hostname: "id-3e70afe5cd823dfc7dd308eea616426b"
restartPolicy: "Never"
ttlSecondsAfterFinished: 172800
ttlSecondsAfterFinished: 172800