add fsused to block_devices output

This commit is contained in:
Girish Ramakrishnan
2025-11-10 10:50:23 +01:00
parent d8c3ce30ca
commit 20d4ce6632
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -170,7 +170,7 @@ async function getFilesystems(req, res, next) {
}
async function getFilesystemUsage(req, res, next) {
if (typeof req.query.filesystem !== 'string') return next(new HttpError(400, 'getFilesystemUsage'));
if (typeof req.query.filesystem !== 'string') return next(new HttpError(400, 'Missing filesystem query param'));
if (req.headers.accept !== 'text/event-stream') return next(new HttpError(400, 'This API call requires EventStream'));
const [error, task] = await safe(system.getFilesystemUsage(req.query.filesystem));