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

Modify Ruby yaml files to follow the rules to copy comments to Go yam… #8192

Conversation

modular-magician
Copy link
Collaborator

In GoogleCloudPlatform/magic-modules#11715, I store the comments to a map. Each comment has a key. The key is the previous name line + the name line + the line which has the comment.

To make the keys work, the following rules should be followed:

  • name should be the next line of type
  • field and type should be in the same line

This PR is to make sure the key for the comments is correct.

Release Note Template for Downstream PRs (will be copied)


Derived from GoogleCloudPlatform/magic-modules#11713

…… (#11713)

[upstream:c90e258f1025a0200f381afc4e9740823807aa97]

Signed-off-by: Modular Magician <[email protected]>
@modular-magician modular-magician merged commit f5af957 into hashicorp:main Sep 16, 2024
4 checks passed
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.

1 participant