Skip to content

Commit f198fe6

Browse files
committed
pkg/machine/wsl: use any instead of interface{}
Since Go 1.18, any is a type alias for interface{}. After commit 8631032 there is still one last instance of interface{} left -- replace it manually. Signed-off-by: Kir Kolyshkin <[email protected]>
1 parent 5824197 commit f198fe6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/machine/wsl/util_windows.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ func wrapMaybe(err error, message string) error {
175175
return errors.New(message)
176176
}
177177

178-
func wrapMaybef(err error, format string, args ...interface{}) error {
178+
func wrapMaybef(err error, format string, args ...any) error {
179179
if err != nil {
180180
return fmt.Errorf(format+": %w", append(args, err)...)
181181
}

0 commit comments

Comments
 (0)