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

Fix/239 #288

Merged
merged 7 commits into from
Sep 21, 2016
Merged

Fix/239 #288

merged 7 commits into from
Sep 21, 2016

Conversation

rebeccaskinner
Copy link
Contributor

Fix calls to lookup failing when the nodes are inside of a module.

Copy link
Contributor

@ryane ryane left a comment

Choose a reason for hiding this comment

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

fixes the problem and looks good to me. just a couple of comments/questions.


return g.Transform(ctx, func(id string, out *graph.Graph) error {
r, e := g.Transform(ctx, func(id string, out *graph.Graph) error {
Copy link
Contributor

Choose a reason for hiding this comment

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

I know it's been brought up before that single-letter variable names can make things hard to read. not sure it's a problem here since you are just returning them (don't even really need them).

@@ -33,9 +35,9 @@ type dependencyGenerator func(node *parse.Node) ([]string, error)
// the graph and creates edges to fit them
func ResolveDependencies(ctx context.Context, g *graph.Graph) (*graph.Graph, error) {
logger := logging.GetLogger(ctx).WithField("function", "ResolveDependencies")
logger.Debug("resolving dependencies")
logger.Info("resolving dependencies")
Copy link
Contributor

@ryane ryane Sep 21, 2016

Choose a reason for hiding this comment

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

should this actually be an Info log instead of Debug?

Copy link
Contributor

Choose a reason for hiding this comment

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

Yeah, looks like this changed back from the PR where I turned down the levels

Copy link
Contributor

@BrianHicks BrianHicks left a comment

Choose a reason for hiding this comment

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

Could you give samples/qm.hcl a better name and a comment about what it's actually doing?

@rebeccaskinner rebeccaskinner force-pushed the fix/239 branch 2 times, most recently from 9b25e49 to 664ce24 Compare September 21, 2016 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants