Skip to content

Commit

Permalink
chore: fix incorrect comment
Browse files Browse the repository at this point in the history
  • Loading branch information
andrei-scripniciuc committed Apr 15, 2024
1 parent fbdf39d commit 012433e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rules/internal/utils/method.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func IsCreateMethod(m *desc.MethodDescriptor) bool {
return createMethodRegexp.MatchString(m.GetName())
}

// IsCreateMethod returns true if this is a AIP-133 Create method with
// IsCreateMethodWithResolvedReturnType returns true if this is a AIP-133 Create method with
// a non-nil response type. This method should be used for filtering in linter
// rules which access the response type of the method, to avoid crashing due
// to dereferencing a nil pointer to the response.
Expand Down

0 comments on commit 012433e

Please sign in to comment.