Add: StorageInfo serializer, url test change output from API storage-info

This commit is contained in:
2023-09-08 16:02:34 +09:00
parent 045cc3641f
commit 158c381ac4
7 changed files with 53 additions and 14 deletions

View File

@@ -35,4 +35,4 @@ def get_mount_fs_info(path):
mount_info['used_percent'] = round(
mount_info['used'] / mount_info['total'] * 100
)
return {'storage': mount_info}
return mount_info