Fix build for openbsd

This commit is contained in:
Brian Kassouf 2019-11-11 20:10:21 -08:00
parent b6b93d1c60
commit 660ef96bb9

View File

@ -3,6 +3,7 @@
package hostutil package hostutil
import ( import (
"context"
"fmt" "fmt"
"time" "time"
) )
@ -16,6 +17,6 @@ type HostInfo struct {
Memory interface{} `json:"memory"` 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") return nil, fmt.Errorf("host info not supported on this platform")
} }