We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b79c5c commit 762671fCopy full SHA for 762671f
cmd/mdatagen/internal/metadata.go
@@ -313,7 +313,7 @@ type Attribute struct {
313
314
func (a *Attribute) Unmarshal(parser *confmap.Conf) error {
315
if !parser.IsSet("enabled") {
316
- return errors.New("missing required field for attribute: `enabled`")
+ a.Enabled = true
317
}
318
return parser.Unmarshal(a)
319
receiver/receiverhelper/metadata.yaml
@@ -107,4 +107,3 @@ attributes:
107
- success
108
- refused
109
- failure
110
- enabled: true
0 commit comments