Skip to content

Commit

Permalink
task lifecycle poststop: fix log line
Browse files Browse the repository at this point in the history
  • Loading branch information
jazzyfresh committed Aug 31, 2020
1 parent da569d2 commit 872e921
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion client/allocrunner/taskrunner/task_runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ func (tr *TaskRunner) Run() {

select {
case <-tr.startConditionMetCtx:
tr.logger.Debug("lifecycle start condition has been met, proceeding", "task", tr.task.Name)
tr.logger.Debug("lifecycle start condition has been met, proceeding")
// yay proceed
case <-tr.killCtx.Done():
case <-tr.shutdownCtx.Done():
Expand Down Expand Up @@ -627,6 +627,7 @@ func (tr *TaskRunner) shouldShutdown() bool {

return false
}

// handleTaskExitResult handles the results returned by the task exiting. If
// retryWait is true, the caller should attempt to wait on the task again since
// it has not actually finished running. This can happen if the driver plugin
Expand Down

0 comments on commit 872e921

Please sign in to comment.