diff --git a/rules/aip0148/declarative_friendly_fields.go b/rules/aip0148/declarative_friendly_fields.go index 51978eb8a..360831249 100644 --- a/rules/aip0148/declarative_friendly_fields.go +++ b/rules/aip0148/declarative_friendly_fields.go @@ -25,7 +25,7 @@ import ( ) var declarativeFriendlyRequired = &lint.MessageRule{ - Name: lint.NewRuleName(148, "declarative-friendly-required"), + Name: lint.NewRuleName(148, "declarative-friendly-fields"), OnlyIf: func(m *desc.MessageDescriptor) bool { if resource := utils.DeclarativeFriendlyResource(m); resource == m { return true