mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-04 14:31:13 +02:00
Some cleaning + move "/version" endpoint to "/server/version".
This commit is contained in:
1 parent
87f15eafe0
commit
cd07a99118
18 files changed
+70
-187
No files matched your search
@@ -142,7 +142,7 @@ class Cloud(BaseNode):
|
||||
if port_info["type"] in ("ethernet", "tap"):
|
||||
network_interfaces = [interface["name"] for interface in interfaces()]
|
||||
if not port_info["interface"] in network_interfaces:
|
||||
raise NodeError("Interface {} could not be found on this system".format(port_info["interface"]))
|
||||
raise NodeError("Interface '{}' could not be found on this system".format(port_info["interface"]))
|
||||
|
||||
if sys.platform.startswith("win"):
|
||||
windows_interfaces = interfaces()
|
||||
|
||||
Reference in new issue
Block a user