mirror of
https://github.com/kairos-io/kairos-sdk.git
synced 2025-09-18 16:34:38 +00:00
Convert env to a map of interfaces (#101)
Signed-off-by: Mauro Morales <contact@mauromorales.com>
This commit is contained in:
@@ -62,7 +62,7 @@ func (P2PNetworkExtended) JSONSchemaOneOf() []interface{} {
|
||||
|
||||
// VPN represents the vpn block in the Kairos configuration.
|
||||
type VPN struct {
|
||||
Create bool `json:"vpn,omitempty" default:"true"`
|
||||
Use bool `json:"use,omitempty" default:"true"`
|
||||
Envs interface{} `json:"env,omitempty"`
|
||||
Create bool `json:"vpn,omitempty" default:"true"`
|
||||
Use bool `json:"use,omitempty" default:"true"`
|
||||
Envs map[string]interface{} `json:"env,omitempty"`
|
||||
}
|
||||
|
Reference in New Issue
Block a user