func (api *restAPI) fillAttemptShort(namespace coordinate.Namespace, attempt coordinate.Attempt, short *restdata.AttemptShort) error { var err error short.StartTime, err = attempt.StartTime() builder := api.attemptURLBuilder(namespace, attempt, short.StartTime, err) builder.URL(&short.URL, "attempt") builder.URL(&short.WorkUnitURL, "workUnit") builder.URL(&short.WorkerURL, "worker") return builder.Error }