Skip to content

Commit

Permalink
Update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
hadjri committed Dec 18, 2024
1 parent 7ac003c commit 751af42
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions model/lifecycle.go
Original file line number Diff line number Diff line change
Expand Up @@ -963,8 +963,7 @@ func shouldSyncTask(syncVariantsTasks []patch.VariantTasks, bv, task string) boo
}

// SetNumDependents sets NumDependents for each task in tasks.
// NumDependents is the number of tasks depending on the task. Only tasks created at the same time
// and in the same variant are included.
// NumDependents is the number of tasks depending on the task.
func SetNumDependents(tasks []*task.Task) {
idToTask := make(map[string]*task.Task)
for i, task := range tasks {
Expand Down

0 comments on commit 751af42

Please sign in to comment.