Skip to content

Commit 14fc754

Browse files
Update cmd/mdatagen/internal/metadata.go
Co-authored-by: Damien Mathieu <42@dmathieu.com>
1 parent a1cec0f commit 14fc754

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/mdatagen/internal/metadata.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ type Deprecated struct {
6363
Note string `mapstructure:"note"`
6464
}
6565

66-
func (d *Deprecated) Validate() error {
66+
func (d *Deprecated) validate() error {
6767
if strings.TrimSpace(d.Since) == "" {
6868
return errors.New("deprecated.since must be set")
6969
}

0 commit comments

Comments
 (0)