From 8813f14c2793a69a79e58fc4cc6d26695fb5808e Mon Sep 17 00:00:00 2001 From: sam55silver Date: Fri, 28 May 2021 10:56:37 -0300 Subject: [PATCH] Added cephfs-dir-status.py to scripts directory --- navigator/navigator.js | 2 +- navigator/scripts/{cephfs-dir-stats => cephfs-dir-stats.py} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename navigator/scripts/{cephfs-dir-stats => cephfs-dir-stats.py} (100%) diff --git a/navigator/navigator.js b/navigator/navigator.js index feac31b..c6f4d05 100644 --- a/navigator/navigator.js +++ b/navigator/navigator.js @@ -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]; diff --git a/navigator/scripts/cephfs-dir-stats b/navigator/scripts/cephfs-dir-stats.py similarity index 100% rename from navigator/scripts/cephfs-dir-stats rename to navigator/scripts/cephfs-dir-stats.py