cmd/rv/probe_circleci.go code cleanup

This commit is contained in:
Russell Stanley 2022-04-29 13:53:52 +09:30
parent 445ab1d785
commit 5202f5914e
1 changed files with 3 additions and 9 deletions

View File

@ -46,14 +46,8 @@ func NewTurbidityProbe(log logger.Logger, delay time.Duration) (*turbidityProbe,
}
// Write performs no operation for CircleCI testing only.
func (tp *turbidityProbe) Write(p []byte) (int, error) {
return 0, nil
}
func (tp *turbidityProbe) Write(p []byte) (int, error) { return 0, nil }
func (tp *turbidityProbe) Update(mat []float64) error {
return nil
}
func (tp *turbidityProbe) Update(mat []float64) error { return nil }
func (tp *turbidityProbe) Close() error {
return nil
}
func (tp *turbidityProbe) Close() error { return nil }