Open arianvp opened 5 years ago
https://github.com/hashicorp/nomad-driver-lxc/blob/6e65342e8597c6633721c677f3e250bb44c46192/lxc/driver.go#L184
Reading the nomad source code, this function is never called by nomad. Instead, nomad calls a function Shutdown() error (without a context) instead.
nomad
Shutdown() error
I am asking because i'm trying to implement my own driver and I can't get it to cleanly shutdown
https://github.com/hashicorp/nomad-driver-lxc/blob/6e65342e8597c6633721c677f3e250bb44c46192/lxc/driver.go#L184
Reading the
nomad
source code, this function is never called bynomad
. Instead,nomad
calls a functionShutdown() error
(without a context) instead.I am asking because i'm trying to implement my own driver and I can't get it to cleanly shutdown