mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 18:35:44 +03:00
use drivers.FSIsolation
This commit is contained in:
@@ -81,7 +81,7 @@ var (
|
||||
capabilities = &drivers.Capabilities{
|
||||
SendSignals: false,
|
||||
Exec: false,
|
||||
FSIsolation: cstructs.FSIsolationNone,
|
||||
FSIsolation: drivers.FSIsolationNone,
|
||||
}
|
||||
|
||||
_ drivers.DriverPlugin = (*Driver)(nil)
|
||||
@@ -89,7 +89,7 @@ var (
|
||||
|
||||
func init() {
|
||||
if runtime.GOOS == "linux" {
|
||||
capabilities.FSIsolation = cstructs.FSIsolationChroot
|
||||
capabilities.FSIsolation = drivers.FSIsolationChroot
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user