Skip to content

Commit

Permalink
Add TODOs
Browse files Browse the repository at this point in the history
  • Loading branch information
fortuna committed Sep 4, 2024
1 parent 089afc6 commit 01d1495
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions x/examples/test-connectivity/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ func main() {
for _, ip := range di.Addrs {
report.AnswerIPs = append(report.AnswerIPs, ip.IP.String())
}
// TODO(fortuna): Use a Mutex.
dnsReports = append(dnsReports, report)
},
ConnectDone: func(network, addr string, connErr error) {
Expand All @@ -232,6 +233,7 @@ func main() {
if connErr != nil {
report.Error = connErr.Error()
}
// TODO(fortuna): Use a Mutex.
tcpReports = append(tcpReports, report)
},
})
Expand Down Expand Up @@ -267,6 +269,7 @@ func main() {
for _, ip := range di.Addrs {
report.AnswerIPs = append(report.AnswerIPs, ip.IP.String())
}
// TODO(fortuna): Use a Mutex.
dnsReports = append(dnsReports, report)
},
})
Expand Down

0 comments on commit 01d1495

Please sign in to comment.