mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-14 07:42:11 +02:00
Fix erroneous handling of __template__ and __system__ workspaces
__template__ and __system__ are not real workspace but config zones for workspace template and init handling. They should not be processed as workspaces. Now ignores workspace beginning with '_' prefix.
This commit is contained in:
parent
d0850ff381
commit
6c8443fb6c
1 changed files with 4 additions and 0 deletions
|
|
@ -209,6 +209,8 @@ class AsyncProcessor:
|
||||||
|
|
||||||
# Call the handler once per workspace
|
# Call the handler once per workspace
|
||||||
for ws, config in per_ws.items():
|
for ws, config in per_ws.items():
|
||||||
|
if ws.startswith("_"):
|
||||||
|
continue
|
||||||
await entry["handler"](ws, config, version)
|
await entry["handler"](ws, config, version)
|
||||||
|
|
||||||
logger.info(
|
logger.info(
|
||||||
|
|
@ -310,6 +312,8 @@ class AsyncProcessor:
|
||||||
per_ws.setdefault(ws, {})[t] = kv
|
per_ws.setdefault(ws, {})[t] = kv
|
||||||
|
|
||||||
for ws, config in per_ws.items():
|
for ws, config in per_ws.items():
|
||||||
|
if ws.startswith("_"):
|
||||||
|
continue
|
||||||
await entry["handler"](
|
await entry["handler"](
|
||||||
ws, config, notify_version,
|
ws, config, notify_version,
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue