Skip to content

fix(internal/gapicgen): use correct region tags for gensnippets#4022

Merged
gcf-merge-on-green[bot] merged 3 commits intomasterfrom
gensnippets
Apr 29, 2021
Merged

fix(internal/gapicgen): use correct region tags for gensnippets#4022
gcf-merge-on-green[bot] merged 3 commits intomasterfrom
gensnippets

Conversation

@tbpg
Copy link
Copy Markdown
Contributor

@tbpg tbpg commented Apr 29, 2021

A side effect of this is that only methods that correspond to RPCs get
region tags.

I changed the error handling so any snippet issues are only warnings and
don't log.Fatal (cc @noahdietz).

I deleted and regenerated all of the snippets, which led to non-Method
snippets (e.g. NewClient-type functions) being deleted.

The first commit has the actual generator changes. The second commit is
the regeneration.

cc @amanda-tarafa.

tbpg added 2 commits April 29, 2021 10:05
A side effect of this is that only methods that correspond to RPCs get
region tags.

I changed the error handling so any snippet issues are only warnings and
don't log.Fatal.

I deleted and regenerated all of the snippets, which led to non-Method
snippets (e.g. NewClient) being deleted.
@tbpg tbpg requested review from a team, codyoss and noahdietz April 29, 2021 14:08
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Apr 29, 2021
Copy link
Copy Markdown
Member

@codyoss codyoss left a comment

Choose a reason for hiding this comment

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

LGTM

@tbpg tbpg added the automerge Merge the pull request once unit tests and other checks pass. label Apr 29, 2021
@gcf-merge-on-green gcf-merge-on-green bot merged commit 8ccd689 into master Apr 29, 2021
@gcf-merge-on-green gcf-merge-on-green bot deleted the gensnippets branch April 29, 2021 14:58
@gcf-merge-on-green gcf-merge-on-green bot removed the automerge Merge the pull request once unit tests and other checks pass. label Apr 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants