Skip to content

Commit

Permalink
Fix rule name mismatch.
Browse files Browse the repository at this point in the history
  • Loading branch information
Luke Sneeringer committed Oct 14, 2020
1 parent 1704b19 commit bc5f2e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rules/aip0148/declarative_friendly_fields.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bc5f2e1

Please sign in to comment.