Skip to content

Commit

Permalink
[mdatagen] Fix gauge.NumberDataPoints field to use mapstructure (#6683)
Browse files Browse the repository at this point in the history
The field was left not updated due to this PR #6460 not rebased before merge
  • Loading branch information
dmitryax authored Dec 10, 2021
1 parent 19b10e5 commit 450d5f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/mdatagen/metricdata.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ func (ndp NumberDataPoints) BasicType() string {
}

type gauge struct {
NumberDataPoints `yaml:",inline"`
NumberDataPoints `mapstructure:",squash"`
}

func (d gauge) Type() string {
Expand Down

0 comments on commit 450d5f8

Please sign in to comment.