We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a58479c commit 1935ad8Copy full SHA for 1935ad8
cmd/mdatagen/internal/metric.go
@@ -66,9 +66,9 @@ func (s Stability) String() string {
66
return fmt.Sprintf(" [%s]", s.Level.String())
67
}
68
69
- // NOTE: confmap rejects unknown keys by default.
70
- // The "from" field cannot be tested via full metadata loading
71
- // unless WithIgnoreUnused() is used by the caller.
+// NOTE: confmap rejects unknown keys by default.
+// The "from" field cannot be tested via full metadata loading
+// unless WithIgnoreUnused() is used by the caller.
72
func (s *Stability) Unmarshal(parser *confmap.Conf) error {
73
if !parser.IsSet("level") {
74
return errors.New("missing required field: `stability.level`")
0 commit comments