From d60b9c6b0ec77c5d458a17467f1b4939cc2f6812 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Sat, 21 Mar 2020 16:08:02 +0100 Subject: vm/vmimpl: refactor DiagnoseFree/OpenBSD Make signatures of these functions match vm.Diagnose. Both more flexible, less code, more reasonable. --- vm/vmm/vmm.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vm/vmm') 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. -- cgit mrf-deployment