Skip to content

Commit

Permalink
remove tree from infinit command
Browse files Browse the repository at this point in the history
  • Loading branch information
mkolomeychenko committed Jan 18, 2022
1 parent fc5f88b commit 23e8fba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions agent/worker/task_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,8 +232,8 @@ def find_or_run_container(self):
self.logger.info("pip second install for old agents is finished")

def get_spawn_entrypoint(self):
inf_command = "tree {} && while true; do sleep 30; done;".format(self.dir_task_container)
self.logger.info("Container directory and command", extra={"command": inf_command})
inf_command = "while true; do sleep 30; done;"
self.logger.info("Infinit command", extra={"command": inf_command})
return ["sh", "-c", inf_command]

def _exec_command(self, command, add_envs=None, container_id=None):
Expand Down

0 comments on commit 23e8fba

Please sign in to comment.