diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2026-02-07 19:07:44 +0100 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2026-02-17 14:55:28 +0000 |
| commit | 9ca304f096ce425e3556bbd05745f896f5e0b268 (patch) | |
| tree | f17ce5341faa2f56bc7a6a1f1b34aad6e7442525 /vm/vmimpl/util.go | |
| parent | f4288eed9c51fed44b853c252711c00de8761336 (diff) | |
vm/vmimpl: refactor Merger error processing
Introduce an Error() method to avoid capturing the errors of already
overridden decoders.
Diffstat (limited to 'vm/vmimpl/util.go')
| -rw-r--r-- | vm/vmimpl/util.go | 2 |
1 files changed, 1 insertions, 1 deletions
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" |
