return 0, fmt.Errorf("Reset point for %v is expired", buildId)
} else if execution.RunId != point.RunId && currentRunOnly {
return 0, fmt.Errorf("Reset point for %v points to previous run and CurrentRunOnly is set", buildId)
activities.go
}
execution.RunId = point.RunId
return point.FirstWorkflowTaskCompletedId, nil