mirror of
https://github.com/apache/druid.git
synced 2025-02-09 19:44:57 +00:00
Fix field names in PeonCommandContext (#16067)
This commit is contained in:
parent
b1c1937e94
commit
ba3d4daf45
@ -31,25 +31,25 @@ public class PeonCommandContext
|
|||||||
private final List<String> javaOpts;
|
private final List<String> javaOpts;
|
||||||
private final File taskDir;
|
private final File taskDir;
|
||||||
private final boolean enableTls;
|
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(
|
public PeonCommandContext(
|
||||||
List<String> comamnd,
|
List<String> comamnd,
|
||||||
List<String> javaOpts,
|
List<String> javaOpts,
|
||||||
File taskDir,
|
File taskDir,
|
||||||
int CpuMicroCore,
|
int cpuMicroCore,
|
||||||
boolean enableTls
|
boolean enableTls
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
this.comamnd = comamnd;
|
this.comamnd = comamnd;
|
||||||
this.javaOpts = javaOpts;
|
this.javaOpts = javaOpts;
|
||||||
this.taskDir = taskDir;
|
this.taskDir = taskDir;
|
||||||
this.CpuMicroCore = CpuMicroCore;
|
this.cpuMicroCore = cpuMicroCore;
|
||||||
this.enableTls = enableTls;
|
this.enableTls = enableTls;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -76,7 +76,7 @@ public class PeonCommandContext
|
|||||||
|
|
||||||
public int getCpuMicroCore()
|
public int getCpuMicroCore()
|
||||||
{
|
{
|
||||||
return CpuMicroCore;
|
return cpuMicroCore;
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isEnableTls()
|
public boolean isEnableTls()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user