Skip to content

Commit

Permalink
Merge pull request #80 from DeepAI-Research/antbaez/fixing_issues
Browse files Browse the repository at this point in the history
fix to prev commit
  • Loading branch information
antbaez9 authored Jul 11, 2024
2 parents f416207 + 791d416 commit 5983928
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion distributask/distributask.py
Original file line number Diff line number Diff line change
Expand Up @@ -588,6 +588,7 @@ def rent_nodes(
max_nodes: int,
image: str,
module_name: str,
settings: Dict,
command: str = None,
) -> List[Dict]:
"""
Expand Down Expand Up @@ -628,7 +629,7 @@ def rent_nodes(
break
try:
instance = self.create_instance(
offer["id"], image, module_name, command
offer["id"], image, module_name, settings, command
)
atexit.register(self.destroy_instance, instance["new_contract"])
rented_nodes.append(
Expand Down

0 comments on commit 5983928

Please sign in to comment.