Skip to content

Commit

Permalink
Use down instead of stop after pause_autostop (#686)
Browse files Browse the repository at this point in the history
  • Loading branch information
carolineechen committed Apr 1, 2024
1 parent 4c3d5d9 commit d26cb04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runhouse/resources/hardware/on_demand_cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ def pause_autostop(self):
"""
sky.autostop(self.name, idle_minutes=-1)
yield
sky.autostop(self.name, idle_minutes=self._autostop_mins)
sky.autostop(self.name, idle_minutes=self._autostop_mins, down=True)

# ----------------- SSH Methods ----------------- #

Expand Down

0 comments on commit d26cb04

Please sign in to comment.