testutil: Update to any from interface{}

Only files that have go build version enforcing tag

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
This commit is contained in:
Paweł Gronowski
2025-03-25 13:38:33 +01:00
parent f14c23a90f
commit 19a0f886da

View File

@@ -38,14 +38,14 @@ import (
// LogT is the subset of the testing.TB interface used by the daemon.
type LogT interface {
Logf(string, ...interface{})
Logf(string, ...any)
}
// nopLog is a no-op implementation of LogT that is used in daemons created by
// NewDaemon (where no testing.TB is available).
type nopLog struct{}
func (nopLog) Logf(string, ...interface{}) {}
func (nopLog) Logf(string, ...any) {}
const (
defaultDockerdBinary = "dockerd"