open-nomad/client/allocrunner
Michael Schurter 3e56ee005a add nil check around task resources in device hook
Looking at NewTaskRunner I'm unsure whether TaskRunner.TaskResources
(from which req.TaskResources is set) is intended to be nil at times or
if the TODO in NewTaskRunner is intended to ensure it is always non-nil.
2018-11-27 17:25:33 -08:00
..
interfaces Device hook and devices affect computed node class 2018-11-27 17:25:33 -08:00
state allocrunnerv2 -> allocrunner 2018-10-16 16:56:56 -07:00
taskrunner add nil check around task resources in device hook 2018-11-27 17:25:33 -08:00
alloc_runner.go Device hook and devices affect computed node class 2018-11-27 17:25:33 -08:00
alloc_runner_hooks.go client: support graceful shutdowns 2018-11-19 16:39:30 -08:00
alloc_runner_test.go Device hook and devices affect computed node class 2018-11-27 17:25:33 -08:00
allocdir_hook.go allocrunnerv2 -> allocrunner 2018-10-16 16:56:56 -07:00
config.go Device hook and devices affect computed node class 2018-11-27 17:25:33 -08:00
health_hook.go client: support graceful shutdowns 2018-11-19 16:39:30 -08:00
health_hook_test.go fix test breakage caused by rebase 2018-11-27 16:34:01 -08:00
migrate_hook.go allocrunnerv2 -> allocrunner 2018-10-16 16:56:56 -07:00
util.go allocrunnerv2 -> allocrunner 2018-10-16 16:56:56 -07:00