call handle.Network() instead of storing it

This commit is contained in:
Michael Schurter
2018-07-30 16:37:26 -07:00
parent cea2b879e4
commit 97dbf99d3f
5 changed files with 12 additions and 19 deletions

View File

@@ -115,6 +115,7 @@ type TaskRunner struct {
// updateCh is used to receive updated versions of the allocation
updateCh chan *structs.Allocation
// handle is returned when Starting or Opening a driver
handle driver.DriverHandle
handleLock sync.Mutex