No need to pass jvm_options initially

This commit is contained in:
Abhishek Chanda
2015-10-16 19:33:29 +00:00
committed by Abhishek Chanda
parent 1bd5e12cce
commit 707f10adb3

View File

@@ -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 != "" {