mirror of
https://github.com/kemko/nomad.git
synced 2026-01-02 00:15:43 +03:00
This PR enhances the java driver to allow setting the class path and class name to run. It also fixes an issue that would make the Java driver attempt to chroot regardless of operating system (this never effected a released version of Nomad).
10 lines
188 B
Go
10 lines
188 B
Go
// +build !linux
|
|
|
|
package driver
|
|
|
|
import cstructs "github.com/hashicorp/nomad/client/structs"
|
|
|
|
func (d *JavaDriver) FSIsolation() cstructs.FSIsolation {
|
|
return cstructs.FSIsolationNone
|
|
}
|