Commit 3d9341a
authored
chore: new-client.py to fail with message when a module exists (#9256)
Fixes https://togithub.com/googleapis/google-cloud-java/issues/9244
```
suztomo@suztomo2:~/google-cloud-java$ python3.9 generation/new_client/new-client.py generate \
--api_shortname=datacatalog \
--proto-path=google/cloud/datacatalog \
--name-pretty="Data Catalog" \
--product-docs="https://cloud.google.com/data-catalog" \
--api-description="DataCatalog is a centralized and unified data catalog service for all your Cloud resources, where users and systems can discover data, explore and curate its semantics, understand how to act on it, and help govern its usage."
/usr/local/google/home/suztomo/google-cloud-java/generation/new_client
Couldn't create the module because the module /usr/local/google/home/suztomo/google-cloud-java/java-datacatalog already exists. In Java client library generation, a new API version of an existing module does not require new-client.py invocation. See go/yoshi-java-new-client#adding-a-new-service-version-by-owlbot.
```1 parent 35b5c8e commit 3d9341a
1 file changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
213 | 213 | | |
214 | 214 | | |
215 | 215 | | |
216 | | - | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
217 | 224 | | |
218 | 225 | | |
219 | 226 | | |
| |||
0 commit comments