• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

m-lab / locate
96%
main: 92%

Build:
Build:
LAST BUILD BRANCH: v0.18.0
DEFAULT BRANCH: main
Repo Added 01 Apr 2020 10:11PM UTC
Files 33
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH v0.17.8
branch: v0.17.8
CHANGE BRANCH
x
Reset
  • v0.17.8
  • main
  • sandbox-cristinaleon-fix-hostname
  • sandbox-cristinaleon-fix-label
  • sandbox-cristinaleon-fix-prom-hostname
  • sandbox-kinkade
  • sandbox-kinkade-siteinfo
  • sandbox-roberto-cloudbuild
  • sandbox-roberto-cmsketch
  • sandbox-roberto-connlimit
  • sandbox-roberto-eeflag
  • sandbox-roberto-fix-rl
  • sandbox-roberto-heartbeat-jwt
  • sandbox-roberto-jwt
  • sandbox-roberto-metrics
  • sandbox-roberto-no-promote
  • sandbox-roberto-pass-qs-params
  • sandbox-roberto-ratelimit
  • sandbox-roberto-ratelimit-block
  • sandbox-roberto-statistical-pt
  • sandbox-roberto-update-cloudbuild
  • sandbox-roberto-update-rl
  • sandbox-soltesz-docs-parameters
  • sandbox-soltesz-ns-replace
  • sandbox-soltesz-testdeploy
  • v0.15.6
  • v0.15.7
  • v0.15.8
  • v0.16.0
  • v0.17.0
  • v0.17.1
  • v0.17.2
  • v0.17.3
  • v0.17.4
  • v0.17.5
  • v0.17.6
  • v0.17.7
  • v0.18.0

12 Jun 2025 10:11PM UTC coverage: 96.423% (+0.2%) from 96.229%
1591

push

travis-pro

web-flow
Avoids a nil pointer dereference error in Geo() (#227)

* Avoids a nil pointer dereference error in Geo()

There was a case in staging where Locate was returning this for a host:

  "neubot-mlab4-syd04.mlab-staging.measurement-lab.org": {
    "Health": null,
    "Registration": null,
    "Prometheus": {
      "Health": false
    }
  },

... this was causing a panic in Locate. This commit avoids this, and adds a new
unit test to be sure it working as intended.

* Fixes a few typos in a comment in Geo()

9 of 9 new or added lines in 1 file covered. (100.0%)

2022 of 2097 relevant lines covered (96.42%)

1.07 hits per line

Relevant lines Covered
Build:
Build:
2097 RELEVANT LINES 2022 COVERED LINES
1.07 HITS PER LINE
Source Files on v0.17.8
  • Tree
  • List 33
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
1591 v0.17.8 Avoids a nil pointer dereference error in Geo() (#227) * Avoids a nil pointer dereference error in Geo() There was a case in staging where Locate was returning this for a host: "neubot-mlab4-syd04.mlab-staging.measurement-lab.org": { "Hea... push 01 Jul 2025 05:26PM UTC web-flow travis-pro
96.42
1592 v0.17.8 Avoids a nil pointer dereference error in Geo() (#227) * Avoids a nil pointer dereference error in Geo() There was a case in staging where Locate was returning this for a host: "neubot-mlab4-syd04.mlab-staging.measurement-lab.org": { "Hea... release 01 Jul 2025 05:25PM UTC web-flow travis-pro
96.42
See All Builds (1667)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc