func setTaskChangeSent(event *sendableEvent) {
	taskChangeStatus := event.taskChange.Status
	task := event.taskChange.Task
	if task != nil && task.GetSentStatus() < taskChangeStatus {
		task.SetSentStatus(taskChangeStatus)
	}
	for _, containerStateChange := range event.taskChange.Containers {
		container := containerStateChange.Container
		containerChangeStatus := containerStateChange.Status
		if container.GetSentStatus() < containerChangeStatus {
			container.SetSentStatus(containerStateChange.Status)
		}
	}
}
func setTaskChangeSent(event *sendableEvent) {
	taskChangeStatus := event.taskChange.Status
	task := event.taskChange.Task
	if task != nil && task.GetSentStatus() < taskChangeStatus {
		task.SetSentStatus(taskChangeStatus)
	}
	for _, containerStateChange := range event.taskChange.Containers {
		container := containerStateChange.Container
		containerChangeStatus := containerStateChange.Status
		if container.GetSentStatus() < containerChangeStatus {
			container.SetSentStatus(containerStateChange.Status)
		}
	}
}
// setTaskChangeSent sets the event's task change object as sent