agent/api/task/task.go
func (task *Task) stringUnsafe() string {
	res := fmt.Sprintf("%s:%s %s, TaskStatus: (%s->%s)",
		task.Family, task.Version, task.Arn,
		task.KnownStatusUnsafe.String(), task.DesiredStatusUnsafe.String())
	res += " Containers: ["
	for _, container := range task.Containers {
		res += fmt.Sprintf("%s (%s->%s),", container.Name, container.GetKnownStatus().String(), container.GetDesiredStatus().String())
	}

	if task.ENI != nil {
		res += fmt.Sprintf(" ENI: [%s]", task.ENI.String())
	}
	return res + "]"
}
func (task *Task) stringUnsafe() string {
	res := fmt.Sprintf("%s:%s %s, TaskStatus: (%s->%s)",
		task.Family, task.Version, task.Arn,
		task.KnownStatusUnsafe.String(), task.DesiredStatusUnsafe.String())
	res += " Containers: ["
	for _, container := range task.Containers {
		res += fmt.Sprintf("%s (%s->%s),", container.Name, container.GetKnownStatus().String(), container.GetDesiredStatus().String())
	}

	if task.ENI != nil {
		res += fmt.Sprintf(" ENI: [%s]", task.ENI.String())
	}
	return res + "]"
}
func ( task * Task ) stringUnsafe ( ) string { res := fmt . Sprintf ( " " , task . Family , task . Version , task . Arn , task . KnownStatusUnsafe . String ( ) , task . DesiredStatusUnsafe . String ( ) ) res += " " for _ , container := range task . Containers { res += fmt . Sprintf ( " " , container . Name , container . GetKnownStatus ( ) . String ( ) , container . GetDesiredStatus ( ) . String ( ) ) } if task . ENI != nil { res += fmt . Sprintf ( " " , task . ENI . String ( ) ) } return res + " " }
// stringUnsafe returns a human readable string representation of this object
stringUnsafe returns a human readable string representation of this object