Skip to content

Commit 23ad446

Browse files
Use the whole provided hostname for siteinfo lookup (#67)
1 parent 98c686b commit 23ad446

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ func main() {
9595
// https://siteinfo.mlab-oti.measurementlab.net/v2/sites/annotations.json
9696
h, err := host.Parse(*hostname)
9797
rtx.Must(err, "Failed to parse the provided hostname")
98-
mlabHostname := h.String()
98+
mlabHostname := h.StringWithService()
9999

100100
defer mainCancel()
101101
// A waitgroup that waits for every component goroutine to complete before main exits.

0 commit comments

Comments
 (0)