chore: replace interface{} with any

This commit is contained in:
Vincent Bernat
2025-07-29 07:37:42 +02:00
parent 10dfefebb4
commit 18beb310ee
61 changed files with 315 additions and 315 deletions

View File

@@ -79,7 +79,7 @@ func CheckExternalService(t *testing.T, name string, candidates []string) string
}
// StartStop starts a component and stops it on cleanup.
func StartStop(t *testing.T, component interface{}) {
func StartStop(t *testing.T, component any) {
t.Helper()
if starterC, ok := component.(starter); ok {
if err := starterC.Start(); err != nil {