mirror of
https://github.com/vale981/ray
synced 2025-03-06 10:31:39 -05:00
[autoscaler] Fix missing body argument in GCP getIamPolicy
#5169
This commit is contained in:
parent
ccee77aafd
commit
3456afdea7
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue