mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-06 15:21:13 +02:00
Add API endpoint to return all links attached to a node.
This commit is contained in:
1 parent
fd5df0052a
commit
62f87de23a
4 files changed
+29
-7
No files matched your search
@@ -90,9 +90,9 @@ class ProjectManager:
|
||||
return
|
||||
# send a warning if used disk space is >= 90%
|
||||
if used_disk_space >= 90:
|
||||
message = 'Only {}% or less of free disk space detected in "{}" on "{}"'.format(100 - used_disk_space,
|
||||
project.path,
|
||||
platform.node())
|
||||
message = 'Only {:.2f}% or less of free disk space detected in "{}" on "{}"'.format(100 - used_disk_space,
|
||||
project.path,
|
||||
platform.node())
|
||||
log.warning(message)
|
||||
project.emit("log.warning", {"message": message})
|
||||
|
||||
|
||||
Reference in new issue
Block a user