open-nomad/client/logmon
Seth Hoenig 423ea1a5c4 client/logmon: acquire executable in init block
This PR causes the logmon task runner to acquire the binary of the
Nomad executable in an 'init' block, so as to almost certainly get
the name while the nomad file still exists.

This is an attempt at fixing the case where a deleted Nomad file
(e.g. during upgrade) may be getting renamed with a mysterious
suffix first.

If this doesn't work, as a last resort we can literally just trim
the mystery string.

Fixes: #14079
2022-08-24 13:17:20 -05:00
..
logging test: use T.TempDir to create temporary test directory (#12853) 2022-05-12 11:42:40 -04:00
proto update grpc 2020-03-03 08:39:54 -05:00
client.go logmon: add timeout to RPC operations 2019-12-02 10:33:05 -05:00
logmon.go Add gosimple linter (#9590) 2020-12-09 11:05:18 -08:00
logmon_test.go test: use T.TempDir to create temporary test directory (#12853) 2022-05-12 11:42:40 -04:00
plugin.go client/logmon: acquire executable in init block 2022-08-24 13:17:20 -05:00
server.go deps: remove deprecated net/context (#13932) 2022-07-28 14:46:56 -04:00
z_logmon_cmd.go comment on use of init() for plugin handlers 2019-06-18 20:54:55 -04:00