Added cephfs-dir-status.py to scripts directory

This commit is contained in:
sam55silver 2021-05-28 10:56:37 -03:00
parent 3ba9b75bb6
commit 8813f14c27
2 changed files with 1 additions and 1 deletions

View File

@ -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];