From 9ca304f096ce425e3556bbd05745f896f5e0b268 Mon Sep 17 00:00:00 2001 From: Aleksandr Nogikh Date: Sat, 7 Feb 2026 19:07:44 +0100 Subject: vm/vmimpl: refactor Merger error processing Introduce an Error() method to avoid capturing the errors of already overridden decoders. --- vm/vmimpl/util.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vm/vmimpl/util.go') diff --git a/vm/vmimpl/util.go b/vm/vmimpl/util.go index a0e3ce841..0d56a3cdc 100644 --- a/vm/vmimpl/util.go +++ b/vm/vmimpl/util.go @@ -30,7 +30,7 @@ type SSHOptions struct { Key string } -func WaitForSSH(timeout time.Duration, opts SSHOptions, OS string, stop chan error, systemSSHCfg, debug bool) error { +func WaitForSSH(timeout time.Duration, opts SSHOptions, OS string, stop <-chan error, systemSSHCfg, debug bool) error { pwd := "pwd" if OS == targets.Windows { pwd = "dir" -- cgit mrf-deployment