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