Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename EvaluateDependencies to EvaluateDependants #5894

Merged
merged 1 commit into from
Dec 11, 2023

Conversation

wildum
Copy link
Contributor

@wildum wildum commented Nov 30, 2023

This PR just renames one function.

In this case we don't evaluate the dependencies, we evaluate the dependants of the updated nodes.

From the dag definition:

// Dependants returns the list of Nodes that depend on n: all Nodes for which an edge to n is defined.
func (g *Graph) Dependants(n Node) []Node

// Dependencies returns the list of Nodes that n depends on: all Nodes for which an edge from n is defined.
func (g *Graph) Dependencies(n Node) []Node

@wildum wildum requested a review from thampiotr December 11, 2023 09:37
Copy link
Contributor

@thampiotr thampiotr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@thampiotr thampiotr merged commit 28ba4f3 into main Dec 11, 2023
8 checks passed
@thampiotr thampiotr deleted the rename-evaluate-dependencies branch December 11, 2023 09:48
BarunKGP pushed a commit to BarunKGP/grafana-agent that referenced this pull request Feb 20, 2024
@github-actions github-actions bot added the frozen-due-to-age Locked due to a period of inactivity. Please open new issues or PRs if more discussion is needed. label Feb 21, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
frozen-due-to-age Locked due to a period of inactivity. Please open new issues or PRs if more discussion is needed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants