executor: fix broken non-linux build
This commit is contained in:
parent
2283cb2c39
commit
913efed9f5
|
@ -4,10 +4,9 @@ package executor
|
|||
|
||||
import (
|
||||
hclog "github.com/hashicorp/go-hclog"
|
||||
"github.com/hashicorp/nomad/drivers/shared/executor/structs"
|
||||
)
|
||||
|
||||
func NewExecutorWithIsolation(logger hclog.Logger) structs.Executor {
|
||||
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)
|
||||
|
|
Loading…
Reference in New Issue