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

Feature/health module #189

Merged
merged 22 commits into from
Aug 24, 2016
Merged

Feature/health module #189

merged 22 commits into from
Aug 24, 2016

Conversation

rebeccaskinner
Copy link
Contributor

@rebeccaskinner rebeccaskinner commented Aug 23, 2016

Add healthcheck as a command with support for checking any module that implements healthcheck.Check including a default implementation for all modules that use resource.Status

out = append(out, edge.Target().(string))
out = append(out, g.Dependencies(edge.Target().(string))...)
}
for _, elem := range out {
Copy link
Contributor

Choose a reason for hiding this comment

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

this looks like it's doing three iterations over all the keys when it could be doing two. Why not:

  1. iterate over all DownEdges and recursive deps and add them to deps
  2. iterate over deps to extract the keys?

@BrianHicks
Copy link
Contributor

A few fixups and the rebase you mentioned in Slack, but then LGTM 💯

@BrianHicks
Copy link
Contributor

LGTM!

@rebeccaskinner rebeccaskinner merged commit 01ff376 into master Aug 24, 2016
@rebeccaskinner rebeccaskinner deleted the feature/health-module branch August 24, 2016 14:55
BrianHicks pushed a commit that referenced this pull request Dec 22, 2016
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.

2 participants