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 open-telemetry#6460 not rebased before merge
  • Loading branch information
dmitryax authored and PaurushGarg committed Dec 14, 2021
1 parent 5c5cc98 commit 2a04467
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 2a04467

Please sign in to comment.