mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-18 21:21:06 +02:00
Fix build for openbsd
This commit is contained in:
parent
b6b93d1c60
commit
660ef96bb9
@ -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")
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user