use drivers.FSIsolation

This commit is contained in:
Mahmood Ali
2019-01-04 16:11:25 -05:00
committed by Mahmood Ali
parent 2831088fc5
commit 694e3010c2
18 changed files with 42 additions and 72 deletions

View File

@@ -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
}
}