mirror of
https://github.com/kemko/nomad.git
synced 2026-01-07 19:05:42 +03:00
No need to pass jvm_options initially
This commit is contained in:
committed by
Abhishek Chanda
parent
1bd5e12cce
commit
707f10adb3
@@ -133,7 +133,7 @@ func (d *JavaDriver) Start(ctx *ExecContext, task *structs.Task) (DriverHandle,
|
||||
// Get the environment variables.
|
||||
envVars := TaskEnvironmentVariables(ctx, task)
|
||||
|
||||
args := []string{jvm_options}
|
||||
args := []string{}
|
||||
// Look for jvm options
|
||||
jvm_options, ok := task.Config["jvm_options"]
|
||||
if ok && jvm_options != "" {
|
||||
|
||||
Reference in New Issue
Block a user