tshete@ddn.com has uploaded this change for review.

View Change

Incorrect values for ganesha_stats json option

Fixes: https://github.com/nfs-ganesha/nfs-ganesha/issues/1003

This commit fixes the second issue mentioned in the bug.

Issue: The json option of ganesha_stats utility for iov3, iov4
etc gives incorrect values for write. Due to that we cannot use
this option. Without json option the values are correct.

Fix: Incorrect element from dbus result was printed. The logic
for printing the result was not correct. Now printing the result
from correct index.

Change-Id: I639a56290649fd57ab2a8b3260798c0e5bde1c61
Signed-off-by: Trupti Shete <tshete@ddn.com>
---
M src/scripts/ganeshactl/Ganesha/glib_dbus_stats.py
1 file changed, 6 insertions(+), 5 deletions(-)

git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/60/1169860/1

To view, visit change 1169860. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I639a56290649fd57ab2a8b3260798c0e5bde1c61
Gerrit-Change-Number: 1169860
Gerrit-PatchSet: 1
Gerrit-Owner: tshete@ddn.com
Gerrit-MessageType: newchange