mirror of
https://github.com/GNS3/gns3-server
synced 2024-12-24 15:58:08 +00:00
Warning for getting endpoint of compute
This commit is contained in:
parent
2c0804d4ee
commit
022d76e88a
@ -105,7 +105,8 @@ class ComputeHandler:
|
|||||||
},
|
},
|
||||||
raw=True,
|
raw=True,
|
||||||
output=COMPUTE_ENDPOINT_OUTPUT_OBJECT_SCHEMA,
|
output=COMPUTE_ENDPOINT_OUTPUT_OBJECT_SCHEMA,
|
||||||
description="Returns the endpoint for particular `compute` to specific action.")
|
description="Returns the endpoint for particular `compute` to specific action. "
|
||||||
|
"WARNING: This is experimental feature and may change anytime. Please don't rely on this endpoint.")
|
||||||
def endpoint(request, response):
|
def endpoint(request, response):
|
||||||
controller = Controller.instance()
|
controller = Controller.instance()
|
||||||
compute = controller.get_compute(request.match_info["compute_id"])
|
compute = controller.get_compute(request.match_info["compute_id"])
|
||||||
|
Loading…
Reference in New Issue
Block a user