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

Probe re-org #294

Merged
merged 2 commits into from
Jun 30, 2015
Merged

Probe re-org #294

merged 2 commits into from
Jun 30, 2015

Conversation

peterbourgon
Copy link
Contributor

  • tag/weave* -> package overlay
  • tag/origin_host* -> package host
  • tag/topology* -> package main

Closes #238

- tag/weave* -> package overlay
- tag/origin_host* -> package host
- tag/topology* -> package main
// on the host machine, at the granularity of host and port. That information
// is stored in the Endpoint topology. It optionally enriches that topology
// with process (PID) information.
func NewReporter(hostID, hostName string, includeProcesses bool) *Reporter {

This comment was marked as abuse.

This comment was marked as abuse.

This comment was marked as abuse.

@tomwilkie
Copy link
Contributor

Do you know why coverage has gone down so much?

@peterbourgon
Copy link
Contributor Author

I don't! I didn't remove any tests... I can add some more tests to bump the metric back up, if you think it's important. Or we can file another issue to work on coverage specifically.

@@ -80,16 +80,16 @@ func main() {
)

var (
weaveTagger *tag.WeaveTagger
weave *overlay.Weave

This comment was marked as abuse.

This comment was marked as abuse.

@tomwilkie
Copy link
Contributor

Nah the coverage isn't worth it for the sake of it, although we had just got it over 70%...

@@ -149,7 +149,7 @@ func applyNAT(rpt report.Report, scope string) error {
func conntrackModulePresent() bool {
f, err := os.Open(modules)
if err != nil {
log.Printf("conntrack error: %v", err)
//log.Printf("conntrack error: %v", err) // /proc doesn't exist on Darwin

This comment was marked as abuse.

@tomwilkie
Copy link
Contributor

Looks much nicer now. LGTM with that one comment.

peterbourgon added a commit that referenced this pull request Jun 30, 2015
@peterbourgon peterbourgon merged commit ac413e8 into master Jun 30, 2015
@peterbourgon peterbourgon deleted the probe-reorg branch June 30, 2015 10:12
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