mirror of
https://github.com/All-Hands-AI/OpenHands.git
synced 2026-01-10 07:18:10 -05:00
fix: custom runtime image won't work for go (#3464)
* fix request param for container_image; add test for go; * fix go version issue * update test to detect go version
This commit is contained in:
@@ -170,7 +170,7 @@ class RuntimeClient:
|
||||
|
||||
def _init_bash_shell(self, work_dir: str, username: str) -> None:
|
||||
self.shell = pexpect.spawn(
|
||||
f'su - {username}',
|
||||
f'su {username}',
|
||||
encoding='utf-8',
|
||||
echo=False,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user