Skip to content

Commit

Permalink
Remove lingering deep copy verbiage
Browse files Browse the repository at this point in the history
  • Loading branch information
danehlim committed Aug 23, 2024
1 parent 1b9955d commit 3c9bf18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agent/acs/session/task_stop_verification_ack_responder.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func (ts *taskStopper) StopTask(taskARN string) {
logger.Info("Stopping task from task stop verification ACK: %s", logger.Fields{
loggerfield.TaskARN: task.Arn,
})
// Only task ARN and desired status are required in the deep copy to signal to task engine that the task
// Only task ARN and desired status are required to signal to task engine that the task
// should be stopped via call to task engine `UpsertTask`.
taskWithDesiredStatusStopped := createTaskWithARNAndDesiredStatus(task.Arn, apitaskstatus.TaskStopped)
ts.taskEngine.UpsertTask(taskWithDesiredStatusStopped)
Expand Down

0 comments on commit 3c9bf18

Please sign in to comment.