aboutsummaryrefslogtreecommitdiff
path: root/exec2/handle.go
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-11-29 09:51:18 +0100
committerAlex Auvolat <alex@adnab.me>2022-11-29 09:51:18 +0100
commitb0c7108d0d4394c0cbe045adba40daf29e265b41 (patch)
tree57408d49b3257969bd236c28242c140e92aea469 /exec2/handle.go
parent14bd8f2010c3a1f90c6d1297f47ebbf46ee87dde (diff)
downloadnomad-driver-nix2-b0c7108d0d4394c0cbe045adba40daf29e265b41.tar.gz
nomad-driver-nix2-b0c7108d0d4394c0cbe045adba40daf29e265b41.zip
go fmt
Diffstat (limited to 'exec2/handle.go')
-rw-r--r--exec2/handle.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/exec2/handle.go b/exec2/handle.go
index 9cd1cc3..695f49d 100644
--- a/exec2/handle.go
+++ b/exec2/handle.go
@@ -6,15 +6,15 @@ import (
"sync"
"time"
- hclog "github.com/hashicorp/go-hclog"
"github.com/Alexis211/nomad-driver-exec2/executor"
+ hclog "github.com/hashicorp/go-hclog"
"github.com/hashicorp/nomad/plugins/drivers"
)
type taskHandle struct {
- exec executor.Executor
- pid int
- logger hclog.Logger
+ exec executor.Executor
+ pid int
+ logger hclog.Logger
// stateLock syncs access to all fields below
stateLock sync.RWMutex