diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2020-03-21 16:08:02 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2020-03-21 16:08:02 +0100 |
| commit | d60b9c6b0ec77c5d458a17467f1b4939cc2f6812 (patch) | |
| tree | cfc0a0b8ada856f1150d73700645e0e61c72ff74 /vm/vmm | |
| parent | a2d5b1c04d22c7db220cc795dc2b4d48b17437be (diff) | |
vm/vmimpl: refactor DiagnoseFree/OpenBSD
Make signatures of these functions match vm.Diagnose.
Both more flexible, less code, more reasonable.
Diffstat (limited to 'vm/vmm')
| -rw-r--r-- | vm/vmm/vmm.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vm/vmm/vmm.go b/vm/vmm/vmm.go index f3b5fc457..62908de1f 100644 --- a/vm/vmm/vmm.go +++ b/vm/vmm/vmm.go @@ -311,7 +311,7 @@ func (inst *instance) Run(timeout time.Duration, stop <-chan bool, command strin } func (inst *instance) Diagnose() ([]byte, bool) { - return nil, vmimpl.DiagnoseOpenBSD(inst.consolew) + return vmimpl.DiagnoseOpenBSD(inst.consolew) } // Run the given vmctl(8) command and wait for it to finish. |
