We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 88fd5db commit 22e76aaCopy full SHA for 22e76aa
cmd/mdatagen/internal/metric.go
@@ -76,7 +76,7 @@ func (s *Stability) Unmarshal(parser *confmap.Conf) error {
76
Level *component.StabilityLevel `mapstructure:"level"`
77
}{
78
Level: &level,
79
- }, confmap.WithIgnoreUnused()); err != nil {
+ }); err != nil {
80
return err
81
}
82
@@ -86,7 +86,7 @@ func (s *Stability) Unmarshal(parser *confmap.Conf) error {
86
if parser.IsSet("from") {
87
if err := parser.Unmarshal(&struct {
88
From *string `mapstructure:"from"`
89
- }{From: &s.From}, confmap.WithIgnoreUnused()); err != nil {
+ }{From: &s.From}); err != nil {
90
91
92
0 commit comments