mirror of
https://github.com/wassname/ray.git
synced 2026-10-02 12:41:04 +08:00
[autoscaler] Fix missing body argument in GCP getIamPolicy #5169
This commit is contained in:
1 parent
ccee77aafd
commit
3456afdea7
1 file changed
+2
-1
@@ -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