mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user