mirror of
https://github.com/kemko/nomad.git
synced 2026-01-07 19:05:42 +03:00
Rename TaskKillHook to TaskPreKillHook to more closely match usage
Also added/fixed comments
This commit is contained in:
@@ -704,8 +704,8 @@ func (tr *TaskRunner) initDriver() error {
|
||||
}
|
||||
|
||||
// handleKill is used to handle the a request to kill a task. It will return
|
||||
// the handle exit result if one is available and store any error in the task
|
||||
// runner killErr value.
|
||||
//// the handle exit result if one is available and store any error in the task
|
||||
//// runner killErr value.
|
||||
func (tr *TaskRunner) handleKill() *drivers.ExitResult {
|
||||
// Run the pre killing hooks
|
||||
tr.preKill()
|
||||
|
||||
Reference in New Issue
Block a user