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/bhyve/bhyve.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vm/bhyve') diff --git a/vm/bhyve/bhyve.go b/vm/bhyve/bhyve.go index 0000e2c27..810ad4241 100644 --- a/vm/bhyve/bhyve.go +++ b/vm/bhyve/bhyve.go @@ -346,7 +346,7 @@ func (inst *instance) Run(timeout time.Duration, stop <-chan bool, command strin } func (inst *instance) Diagnose() ([]byte, bool) { - return nil, vmimpl.DiagnoseFreeBSD(inst.consolew) + return vmimpl.DiagnoseFreeBSD(inst.consolew) } func parseIP(output []byte) string { -- cgit mrf-deployment