system: add tests for fs usage route
This commit is contained in:
+1
-1
@@ -121,7 +121,7 @@ async function initializeExpressSync() {
|
||||
router.get ('/api/v1/system/metricstream', token, authorizeAdmin, routes.system.getMetricStream);
|
||||
router.get ('/api/v1/system/block_devices', token, authorizeAdmin, routes.system.getBlockDevices);
|
||||
router.get ('/api/v1/system/filesystems', token, authorizeAdmin, routes.system.getFilesystems);
|
||||
router.post('/api/v1/system/filesystem_usage', token, authorizeAdmin, routes.system.getFilesystemUsage);
|
||||
router.get ('/api/v1/system/filesystem_usage', token, authorizeAdmin, routes.system.getFilesystemUsage);
|
||||
router.get ('/api/v1/system/logs/:unit', token, authorizeAdmin, routes.system.getLogs);
|
||||
router.get ('/api/v1/system/logstream/:unit', token, authorizeAdmin, routes.system.getLogStream);
|
||||
// app operators require cpu and memory info for the Resources UI
|
||||
|
||||
Reference in New Issue
Block a user