Skip to content

Commit e6dc969

Browse files
authored
chore(librarian): add exception for google.iam (#14763)
This PR fixes the following stack trace which caused the build to fail for `grpc-google-iam-v1`. ``` Traceback (most recent call last): File "/app/./cli.py", line 1001, in handle_build _verify_library_namespace(library_id, repo) File "/app/./cli.py", line 950, in _verify_library_namespace raise ValueError( ValueError: The namespace `google.iam` for `grpc-google-iam-v1` must be one of ['google', 'google.ads', 'google.ai', 'google.analytics', 'google.apps', 'google.cloud', 'google.geo', 'google.maps', 'google.shopping', 'grafeas', 'google.area120', 'google.api', 'google.apps.script', 'google.apps.script.type', 'google.cloud.alloydb', 'google.cloud.billing', 'google.cloud.devtools', 'google.cloud.gkeconnect', 'google.cloud.gkehub_v1', 'google.cloud.orchestration.airflow', 'google.cloud.security', 'google.cloud.video', 'google.cloud.workflows', 'google.gapic', 'google.identity.accesscontextmanager', 'google.logging', 'google.monitoring', 'google.rpc']. The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/app/./cli.py", line 1440, in <module> args.func(librarian=args.librarian, repo=args.repo) File "/app/./cli.py", line 1005, in handle_build raise ValueError("Build failed.") from e ValueError: Build failed. ```
1 parent a925cae commit e6dc969

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.generator/cli.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -899,6 +899,7 @@ def _verify_library_namespace(library_id: str, repo: str):
899899
"google.cloud.security",
900900
"google.cloud.video",
901901
"google.cloud.workflows",
902+
"google.iam",
902903
"google.gapic",
903904
"google.identity.accesscontextmanager",
904905
"google.logging",

0 commit comments

Comments
 (0)