Fix json keys for groups and targets

Signed-off-by: Patrick Van Stee <patrick@vanstee.me>
pull/280/head
Patrick Van Stee 5 years ago
parent 340686a383
commit 1bc068a583
No known key found for this signature in database
GPG Key ID: BF979CB547EC707B

@ -72,8 +72,8 @@ func ParseFile(fn string) (*Config, error) {
type Config struct {
Variables []*Variable `json:"-" hcl:"variable,block"`
Groups []*Group `json:"groups" hcl:"group,block"`
Targets []*Target `json:"targets" hcl:"target,block"`
Groups []*Group `json:"group" hcl:"group,block"`
Targets []*Target `json:"target" hcl:"target,block"`
Remain hcl.Body `json:"-" hcl:",remain"`
}

Loading…
Cancel
Save