Fix bug in duplicate log lines (and events).
Fixes https://github.com/OpenObservatory/gooni/issues/6
This commit is contained in:
parent
90c1c2de87
commit
610d05f38f
2
Gopkg.lock
generated
2
Gopkg.lock
generated
|
@ -89,7 +89,7 @@
|
|||
branch = "master"
|
||||
name = "github.com/measurement-kit/go-measurement-kit"
|
||||
packages = ["."]
|
||||
revision = "408b54290aef34398a50353e7a66618574d0f075"
|
||||
revision = "ae6643546db7c99bbc6ecb37b86d04baec04d295"
|
||||
|
||||
[[projects]]
|
||||
branch = "master"
|
||||
|
|
|
@ -11,8 +11,8 @@ type Dash struct {
|
|||
|
||||
// Run starts the test
|
||||
func (d Dash) Run(ctl *nettests.Controller) error {
|
||||
dash := mk.Nettest{Name: "Dash"}
|
||||
ctl.Init(&dash)
|
||||
dash := mk.NewNettest("Dash")
|
||||
ctl.Init(dash)
|
||||
return dash.Run()
|
||||
}
|
||||
|
||||
|
|
|
@ -11,8 +11,8 @@ type NDT struct {
|
|||
|
||||
// Run starts the test
|
||||
func (n NDT) Run(ctl *nettests.Controller) error {
|
||||
nt := mk.Nettest{Name: "Ndt"}
|
||||
ctl.Init(&nt)
|
||||
nt := mk.NewNettest("Ndt")
|
||||
ctl.Init(nt)
|
||||
return nt.Run()
|
||||
}
|
||||
|
||||
|
|
|
@ -11,8 +11,8 @@ type WebConnectivity struct {
|
|||
|
||||
// Run starts the test
|
||||
func (n WebConnectivity) Run(ctl *nettests.Controller) error {
|
||||
nt := mk.Nettest{Name: "WebConnectivity"}
|
||||
ctl.Init(&nt)
|
||||
nt := mk.NewNettest("WebConnectivity")
|
||||
ctl.Init(nt)
|
||||
return nt.Run()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user