mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 15:48:28 +00:00
fix(sandbox): allow registry entries without agent scope
This commit is contained in:
@@ -27,7 +27,7 @@ async function listSandboxRegistryItems<
|
|||||||
TEntry extends { containerName: string; image: string; sessionKey: string },
|
TEntry extends { containerName: string; image: string; sessionKey: string },
|
||||||
>(params: {
|
>(params: {
|
||||||
read: () => Promise<{ entries: TEntry[] }>;
|
read: () => Promise<{ entries: TEntry[] }>;
|
||||||
resolveConfiguredImage: (agentId: string) => string;
|
resolveConfiguredImage: (agentId?: string) => string;
|
||||||
}): Promise<Array<TEntry & { running: boolean; imageMatch: boolean }>> {
|
}): Promise<Array<TEntry & { running: boolean; imageMatch: boolean }>> {
|
||||||
const registry = await params.read();
|
const registry = await params.read();
|
||||||
const results: Array<TEntry & { running: boolean; imageMatch: boolean }> = [];
|
const results: Array<TEntry & { running: boolean; imageMatch: boolean }> = [];
|
||||||
|
|||||||
Reference in New Issue
Block a user