mirror of https://bitbucket.org/ausocean/av.git
cmd/rv/probe_circleci.go code cleanup
This commit is contained in:
parent
445ab1d785
commit
5202f5914e
|
@ -46,14 +46,8 @@ func NewTurbidityProbe(log logger.Logger, delay time.Duration) (*turbidityProbe,
|
||||||
}
|
}
|
||||||
|
|
||||||
// Write performs no operation for CircleCI testing only.
|
// Write performs no operation for CircleCI testing only.
|
||||||
func (tp *turbidityProbe) Write(p []byte) (int, error) {
|
func (tp *turbidityProbe) Write(p []byte) (int, error) { return 0, nil }
|
||||||
return 0, nil
|
|
||||||
}
|
|
||||||
|
|
||||||
func (tp *turbidityProbe) Update(mat []float64) error {
|
func (tp *turbidityProbe) Update(mat []float64) error { return nil }
|
||||||
return nil
|
|
||||||
}
|
|
||||||
|
|
||||||
func (tp *turbidityProbe) Close() error {
|
func (tp *turbidityProbe) Close() error { return nil }
|
||||||
return nil
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue