Skip to content

Commit 7af06ba

Browse files
author
Agathe Guillemot
committed
Retrieve ALL the ids properly 🤦
1 parent 0ff6efc commit 7af06ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dataikuapi/dss/projectdeployer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ def list_deployments(self, infra_id=None):
532532
"""
533533
if infra_id is None:
534534
return [DSSProjectDeployerDeployment(self.client, deployment["id"]) for deployment in self.light_status["deployments"]]
535-
return [DSSProjectDeployerDeployment(self.client, deployment["id"]) for deployment in self.light_status["deployments"] if infra_id == deployment.infraId]
535+
return [DSSProjectDeployerDeployment(self.client, deployment["id"]) for deployment in self.light_status["deployments"] if infra_id == deployment["infraId"]]
536536

537537
def get_bundles(self):
538538
"""

0 commit comments

Comments
 (0)