mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-08-27 12:30:13 +03:00
fix: load packet analysis protocols during skills initialization
- Add reload_packet_analysis_protocols() call in _ensure_skills_manager() - PACKET_ANALYSIS_REGISTRY was empty because it was never loaded
This commit is contained in:
parent
67b3b778b8
commit
c5af9ce389
@ -132,6 +132,11 @@ def _ensure_skills_manager():
|
||||
else:
|
||||
logger.warning("Failed to reload prompts")
|
||||
|
||||
if manager.reload_packet_analysis_protocols():
|
||||
logger.debug(f"Loaded {len(PACKET_ANALYSIS_REGISTRY)} packet analysis protocols")
|
||||
else:
|
||||
logger.warning("Failed to reload packet analysis protocols")
|
||||
|
||||
_skills_manager = manager
|
||||
logger.debug("SkillsManager initialized successfully")
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user