mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-06-19 07:48:10 +00:00
Add API endpoint to return all links attached to a node.
This commit is contained in:
@ -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