mirror of
https://github.com/wassname/ray.git
synced 2026-06-28 22:37:36 +08:00
[autoscaler] Fix missing body argument in GCP getIamPolicy #5169
This commit is contained in:
committed by
Richard Liaw
parent
ccee77aafd
commit
3456afdea7
@@ -383,7 +383,8 @@ def _add_iam_policy_binding(service_account, roles):
|
||||
email = service_account["email"]
|
||||
member_id = "serviceAccount:" + email
|
||||
|
||||
policy = crm.projects().getIamPolicy(resource=project_id).execute()
|
||||
policy = crm.projects().getIamPolicy(
|
||||
resource=project_id, body={}).execute()
|
||||
|
||||
already_configured = True
|
||||
|
||||
|
||||
Reference in New Issue
Block a user