mirror of
				https://github.com/optim-enterprises-bv/vault.git
				synced 2025-10-31 18:48:08 +00:00 
			
		
		
		
	Fix build for openbsd
This commit is contained in:
		| @@ -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") | ||||||
| } | } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Brian Kassouf
					Brian Kassouf