cleanup(nettests): remove unused OnDataUsage (#178)
Part of https://github.com/ooni/probe/issues/1283
This commit is contained in:
parent
95906fbcce
commit
2fc160b202
|
@ -202,12 +202,3 @@ func (c *Controller) OnProgress(perc float64, msg string) {
|
||||||
key := fmt.Sprintf("%T", c.nt)
|
key := fmt.Sprintf("%T", c.nt)
|
||||||
output.Progress(key, perc, eta, msg)
|
output.Progress(key, perc, eta, msg)
|
||||||
}
|
}
|
||||||
|
|
||||||
// OnDataUsage should be called when we have a data usage update.
|
|
||||||
func (c *Controller) OnDataUsage(dloadKiB, uploadKiB float64) {
|
|
||||||
// Unused as 2020-04-05: we're now using directly the accessors
|
|
||||||
// provided by the experiment. This callback is going to be removed
|
|
||||||
// from probe-engine in May or June.
|
|
||||||
//
|
|
||||||
// TODO(bassosimone): create an issue for this?
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user