open-nomad/command/agent/consul
Michael Schurter edbe62a879 Synchronously deregister agent on shutdown
Fixes #2891

Previously the agent services and checks were being asynchrously
deregistered on shutdown, so it was a race between the sync goroutine
deregistering them and Nomad shutting down.

This switches to synchronously deregister agent serivces and checks
which doesn't really have a downside since the sync goroutines retry
behavior doesn't help on shutdown anyway.
2017-07-24 11:40:37 -07:00
..
catalog_testing.go Follow _testing.go convention for testing tools 2017-04-19 12:42:47 -07:00
client.go Synchronously deregister agent on shutdown 2017-07-24 11:40:37 -07:00
int_test.go Synchronously deregister agent on shutdown 2017-07-24 11:40:37 -07:00
script.go Thanks go vet! 2017-04-19 13:05:41 -07:00
script_test.go Thanks go vet! 2017-04-19 13:05:41 -07:00
unit_test.go Error -> Errof 2017-07-19 10:00:57 -07:00