mirror of
https://github.com/kemko/nomad.git
synced 2026-01-10 04:15:41 +03:00
executor: use grpc instead of netrpc as plugin protocol
* Added protobuf spec for executor * Seperated executor structs into their own package
This commit is contained in:
@@ -2,9 +2,12 @@
|
||||
|
||||
package executor
|
||||
|
||||
import hclog "github.com/hashicorp/go-hclog"
|
||||
import (
|
||||
hclog "github.com/hashicorp/go-hclog"
|
||||
"github.com/hashicorp/nomad/drivers/shared/executor/structs"
|
||||
)
|
||||
|
||||
func NewExecutorWithIsolation(logger hclog.Logger) Executor {
|
||||
func NewExecutorWithIsolation(logger hclog.Logger) structs.Executor {
|
||||
logger = logger.Named("executor")
|
||||
logger.Error("isolation executor is not supported on this platform, using default")
|
||||
return NewExecutor(logger)
|
||||
|
||||
Reference in New Issue
Block a user