Skip to content

Commit

Permalink
Convert env to a map of interfaces (#101)
Browse files Browse the repository at this point in the history
Signed-off-by: Mauro Morales <[email protected]>
  • Loading branch information
mauromorales authored Apr 18, 2024
1 parent 0c39922 commit b742020
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions schema/p2p_schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
}

0 comments on commit b742020

Please sign in to comment.