diff options
Diffstat (limited to 'nix2/handle.go')
-rw-r--r-- | nix2/handle.go | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/nix2/handle.go b/nix2/handle.go index 9de5d3e..0e54f4e 100644 --- a/nix2/handle.go +++ b/nix2/handle.go @@ -8,13 +8,15 @@ import ( "github.com/Alexis211/nomad-driver-exec2/executor" hclog "github.com/hashicorp/go-hclog" + plugin "github.com/hashicorp/go-plugin" "github.com/hashicorp/nomad/plugins/drivers" ) type taskHandle struct { - exec executor.Executor - pid int - logger hclog.Logger + exec executor.Executor + pid int + pluginClient *plugin.Client + logger hclog.Logger // stateLock syncs access to all fields below stateLock sync.RWMutex |