mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 05:48:36 +08:00
Fix for error in get_sandbox_by_session_api_key (#12147)
This commit is contained in:
parent
25c19023b4
commit
40445f9ff2
@ -187,7 +187,7 @@ class RemoteSandboxService(SandboxService):
|
||||
return SandboxStatus.MISSING
|
||||
|
||||
status = None
|
||||
pod_status = runtime['pod_status'].lower()
|
||||
pod_status = (runtime.get('pod_status') or '').lower()
|
||||
if pod_status:
|
||||
status = POD_STATUS_MAPPING.get(pod_status, None)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user