Skip to content

Commit

Permalink
fix(Devbox): reording job steps
Browse files Browse the repository at this point in the history
  • Loading branch information
arunmathaisk committed Dec 13, 2024
1 parent 3d02123 commit 5f0119e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agent/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -861,8 +861,8 @@ def destroy_devbox_directory(self, devbox_name):

@job("Destroy Devbox", priority="low")
def destroy_devbox(self, devbox_name):
self.destroy_devbox_directory(devbox_name=devbox_name)
devbox = Devbox(devbox_name=devbox_name, server=self)
devbox.stop_devbox()
devbox.delete_devbox_database_volume()
devbox.delete_devbox_home_volume()
self.destroy_devbox_directory(devbox_name=devbox_name)

0 comments on commit 5f0119e

Please sign in to comment.