mirror of
https://github.com/akvorado/akvorado.git
synced 2025-12-11 22:14:02 +01:00
chore: replace interface{} with any
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user