From 660ef96bb92ee6ce79cee9bd11f2daa1835300cc Mon Sep 17 00:00:00 2001 From: Brian Kassouf Date: Mon, 11 Nov 2019 20:10:21 -0800 Subject: [PATCH] Fix build for openbsd --- helper/hostutil/hostinfo_openbsd.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/helper/hostutil/hostinfo_openbsd.go b/helper/hostutil/hostinfo_openbsd.go index 7594f8f896..b092d9b6ad 100644 --- a/helper/hostutil/hostinfo_openbsd.go +++ b/helper/hostutil/hostinfo_openbsd.go @@ -3,6 +3,7 @@ package hostutil import ( + "context" "fmt" "time" ) @@ -16,6 +17,6 @@ type HostInfo struct { Memory interface{} `json:"memory"` } -func CollectHostInfo() (*HostInfo, error) { +func CollectHostInfo(ctx context.Context) (*HostInfo, error) { return nil, fmt.Errorf("host info not supported on this platform") }