Skip to content

Commit

Permalink
fix: modify admin pkg name in gapic (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
crwilcox committed Jul 17, 2020
1 parent 592c7aa commit 5b5011d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@


_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution(
"google-cloud-datastore-admin",
"google-cloud-datastore",
).version


Expand Down
6 changes: 6 additions & 0 deletions synth.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@

s.move(library / "google/cloud/datastore_admin_v1/proto")

s.replace(
"google/**/datastore_admin_client.py",
"google-cloud-datastore-admin",
"google-cloud-datstore"
)

# TODO(busunkim): Remove during the microgenerator transition.
# This re-orders the parameters to avoid breaking existing code.
num = s.replace(
Expand Down

0 comments on commit 5b5011d

Please sign in to comment.