failingDetector is a test-only Detector whose Startup always returns an error.
| 1350 | |
| 1351 | // failingDetector is a test-only Detector whose Startup always returns an error. |
| 1352 | type failingDetector struct{} |
| 1353 | |
| 1354 | func (f *failingDetector) Startup(_ context.Context) error { return fmt.Errorf("startup failed") } |
| 1355 | func (f *failingDetector) Shutdown(_ context.Context) error { return nil } |
nothing calls this directly
no outgoing calls
no test coverage detected