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
4 changed files with 7 additions and 7 deletions
|
|
@ -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()
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue