Rename TaskKillHook to TaskPreKillHook to more closely match usage

Also added/fixed comments
This commit is contained in:
Preetha Appan
2019-01-17 15:27:15 -06:00
parent 77c01c6283
commit c3f044291d

View File

@@ -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()