mirror of
https://github.com/kemko/nomad.git
synced 2026-01-05 01:45:44 +03:00
drivers: Move client/drivers/executor to drivers/shared/executor
This commit is contained in:
15
drivers/shared/executor/executor_basic.go
Normal file
15
drivers/shared/executor/executor_basic.go
Normal file
@@ -0,0 +1,15 @@
|
||||
// +build !linux
|
||||
|
||||
package executor
|
||||
|
||||
import hclog "github.com/hashicorp/go-hclog"
|
||||
|
||||
func NewExecutorWithIsolation(logger hclog.Logger) Executor {
|
||||
logger = logger.Named("executor")
|
||||
logger.Error("isolation executor is not supported on this platform, using default")
|
||||
return NewExecutor(logger)
|
||||
}
|
||||
|
||||
func (e *UniversalExecutor) configureResourceContainer(_ int) error { return nil }
|
||||
|
||||
func (e *UniversalExecutor) runAs(_ string) error { return nil }
|
||||
Reference in New Issue
Block a user