nfs-ganesha/0001-src-scripts-ganeshactl...

25 lines
1.0 KiB
Diff

--- nfs-ganesha-2.8.1/src/scripts/ganeshactl/Ganesha/glib_dbus_stats.py.orig 2019-07-02 16:15:14.081197046 -0400
+++ nfs-ganesha-2.8.1/src/scripts/ganeshactl/Ganesha/glib_dbus_stats.py 2019-07-02 16:15:55.797197046 -0400
@@ -139,9 +139,9 @@
return DumpFULLV4Stats(stats_state())
# authentication
def auth_stats(self):
- stats_state = self.exportmgrobj.get_dbus_method("GetAuthStats",
- self.dbus_exportstats_name)
- return DumpAuth(stats_state())
+ stats_state = self.exportmgrobj.get_dbus_method("GetAuthStats",
+ self.dbus_exportstats_name)
+ return DumpAuth(stats_state())
class RetrieveClientStats():
def __init__(self):
@@ -497,7 +497,7 @@
self.success = stats[0]
self.status = stats[1]
if self.success:
- self.timestamp = (stats[2][0], stats[2][1])
+ self.timestamp = (stats[2][0], stats[2][1])
self.gctotal = stats[3][0]
self.gclatency = stats[3][1]
self.gcmax = stats[3][2]