mirror of
https://github.com/45Drives/cockpit-navigator.git
synced 2025-07-29 16:45:13 +02:00
Added cephfs-dir-status.py to scripts directory
This commit is contained in:
parent
3ba9b75bb6
commit
8813f14c27
@ -360,7 +360,7 @@ class NavDir extends NavEntry {
|
||||
async cephfs_dir_stats() {
|
||||
try {
|
||||
var proc = await cockpit.spawn(
|
||||
["cephfs-dir-stats", "-j", this.path_str()],
|
||||
["/usr/share/cockpit/navigator/scripts/cephfs-dir-stats.py", "-j", this.path_str()],
|
||||
{err: "ignore"}
|
||||
);
|
||||
return JSON.parse(proc)[0];
|
||||
|
Loading…
x
Reference in New Issue
Block a user