executor: fix broken non-linux build

This commit is contained in:
Nick Ethier 2018-12-06 21:33:20 -05:00
parent 2283cb2c39
commit 913efed9f5
No known key found for this signature in database
GPG Key ID: 07C1A3ECED90D24A
1 changed files with 1 additions and 2 deletions

View File

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