mirror of
https://github.com/45Drives/cockpit-navigator.git
synced 2025-07-31 01:24:37 +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() {
|
async cephfs_dir_stats() {
|
||||||
try {
|
try {
|
||||||
var proc = await cockpit.spawn(
|
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"}
|
{err: "ignore"}
|
||||||
);
|
);
|
||||||
return JSON.parse(proc)[0];
|
return JSON.parse(proc)[0];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user