Skip to content

Commit

Permalink
fix(internal/gapicgen): use correct region tags for gensnippets (#4022)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
tbpg authored Apr 29, 2021
1 parent 022fc35 commit 8ccd689
Show file tree
Hide file tree
Showing 2,453 changed files with 3,847 additions and 26,768 deletions.