Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

topdown: glob|regex code nitpicks #7071

Merged
merged 1 commit into from
Sep 26, 2024

Conversation

srenatus
Copy link
Contributor

No functional changes, just

  • using ast.String(..) instead of ast.StringTerm(..).Value
  • using const where package-level strings never change (metrics names)

No functional changes, just

- using ast.String(..) instead of ast.StringTerm(..).Value
- using const where package-level strings never change (metrics names)

Signed-off-by: Stephan Renatus <stephan@styra.com>
Copy link
Contributor

@johanfylling johanfylling left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@srenatus srenatus merged commit 5cbc1e0 into open-policy-agent:main Sep 26, 2024
28 checks passed
@srenatus srenatus deleted the sr/cache-nitpicks branch September 26, 2024 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants