tshete(a)ddn.com has uploaded this change for review. (
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1173081?usp=email )
Change subject: Issue in ganesha_stats json option part_3
......................................................................
Issue in ganesha_stats json option part_3
Issue: ganesha_stats json iomon is showing the stats twice.
The output is having 2 entries for each export_id
Fix: While creating the dict for showing json format stats
for a export_id were appended twice. This was because the
append operation was done in the inner loop. So during read
and write ops the whole stats were getting appneded.
Moved the append operation outside the inner loop.
Change-Id: I8263257012ca981a52ec73d4e22fdcd313cb86fc
Signed-off-by: Trupti Shete <tshete(a)ddn.com>
---
M src/scripts/ganeshactl/Ganesha/glib_dbus_stats.py
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/81/1173081/1
--
To view, visit
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1173081?usp=email
To unsubscribe, or for help writing mail filters, visit
https://review.gerrithub.io/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I8263257012ca981a52ec73d4e22fdcd313cb86fc
Gerrit-Change-Number: 1173081
Gerrit-PatchSet: 1
Gerrit-Owner: tshete(a)ddn.com