mirror of
https://github.com/hansjone/netx.git
synced 2026-10-09 03:10:46 +08:00
Fix port-traffic discover 500 from missing settings import.
Modular split left discover_ports referencing settings without importing it, which raised NameError on pull-ports. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
69b8c7f23c
commit
ce835dde3d
1 changed files with 1 additions and 0 deletions
|
|
@ -10,6 +10,7 @@ from fastapi import HTTPException
|
|||
from sqlalchemy.orm import Session
|
||||
|
||||
from .cli_resolve import resolve_cli_target
|
||||
from .config import settings
|
||||
from .models import (
|
||||
ManagedNE,
|
||||
PortTrafficDevice,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue