Skip to content

Commit

Permalink
chore(devbox): formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
arunmathaisk committed Nov 14, 2024
1 parent 0857e35 commit f8de4cb
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions agent/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -819,8 +819,26 @@ def new_devbox(self, devbox_name, vnc_password, codeserver_password):
}

@job("Start Devbox", priority="low")
def start_devbox(self, devbox_name, websockify_port):
devbox = Devbox(devbox_name=devbox_name, server=self, websockify_port=websockify_port)
def start_devbox(
self,
devbox_name,
vnc_password,
codeserver_password,
websockify_port,
vnc_port,
codeserver_port,
browser_port,
):
devbox = Devbox(
devbox_name=devbox_name,
server=self,
vnc_password=vnc_password,
codeserver_password=codeserver_password,
websockify_port=websockify_port,
vnc_port=vnc_port,
codeserver_port=codeserver_port,
browser_port=browser_port,
)
devbox.run_devbox()

@job("Stop Devbox", priority="low")
Expand Down

0 comments on commit f8de4cb

Please sign in to comment.