mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-06-22 08:50:09 +00:00
Return the current controller hostname/IP from any compute
This commit is contained in:
@ -56,6 +56,8 @@ compute_api = FastAPI(
|
||||
version="v3",
|
||||
)
|
||||
|
||||
compute_api.state.controller_host = None
|
||||
|
||||
|
||||
@compute_api.exception_handler(ComputeError)
|
||||
async def controller_error_handler(request: Request, exc: ComputeError):
|
||||
|
Reference in New Issue
Block a user