Skip to content

Commit

Permalink
Fix json keys for groups and targets
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick Van Stee <[email protected]>
  • Loading branch information
vanstee committed May 8, 2020
1 parent 904b4d4 commit e5f353c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bake/bake.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
}

Expand Down

0 comments on commit e5f353c

Please sign in to comment.