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

Fix NewRunner hook not injecting a custom runner #252

Merged
merged 1 commit into from
Apr 13, 2023

Conversation

wata727
Copy link
Member

@wata727 wata727 commented Apr 12, 2023

See #225
See terraform-linters/tflint-ruleset-google#265

If you call the NewRunner within the built-in ruleset, the NewRunner from the built-in ruleset will be called instead of the NewRunner defined in your custom ruleset. As a result, custom runners defined in custom rulesets will not be injected.

This PR fixes this bug by calling the NewRunner on the GRPC Server side instead of calling the NewRunner in the built-in ruleset.

@wata727 wata727 merged commit 7d26649 into master Apr 13, 2023
@wata727 wata727 deleted the fix_new_runner_hook branch April 13, 2023 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant