From 77c01c628331468b124fd9648f1db6ea91e567a2 Mon Sep 17 00:00:00 2001 From: Michael Schurter Date: Tue, 22 Jan 2019 08:53:26 -0600 Subject: [PATCH] Fix comment Co-Authored-By: preetapan --- client/allocrunner/taskrunner/service_hook.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/allocrunner/taskrunner/service_hook.go b/client/allocrunner/taskrunner/service_hook.go index d067b1811..f12ae2688 100644 --- a/client/allocrunner/taskrunner/service_hook.go +++ b/client/allocrunner/taskrunner/service_hook.go @@ -200,7 +200,7 @@ func (h *serviceHook) getTaskServices() *agentconsul.TaskServices { // values from the task's environment. func interpolateServices(taskEnv *taskenv.TaskEnv, services []*structs.Service) []*structs.Service { // Guard against not having a valid taskEnv. This can be the case if the - // PreKilling or Exited hook is run before post-run. + // PreKilling or Exited hook is run before Poststart. if taskEnv == nil || len(services) == 0 { return nil }