pkg/machine/wsl: use any instead of interface{}

Since Go 1.18, any is a type alias for interface{}. After commit 8631032556
there is still one last instance of interface{} left -- replace it
manually.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
This commit is contained in:
Kir Kolyshkin
2025-09-29 22:10:51 -07:00
parent 5824197774
commit f198fe6b13

View File

@ -175,7 +175,7 @@ func wrapMaybe(err error, message string) error {
return errors.New(message)
}
func wrapMaybef(err error, format string, args ...interface{}) error {
func wrapMaybef(err error, format string, args ...any) error {
if err != nil {
return fmt.Errorf(format+": %w", append(args, err)...)
}