summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAravinda VK <avishwan@redhat.com>2015-06-10 15:26:47 +0530
committerVijay Bellur <vbellur@redhat.com>2015-06-11 12:28:12 -0700
commit076e869c65dbe2ef9fa34b05756d23849ae4e852 (patch)
treee507c0562f2c961429920f4593cb671f79edf95c /tools
parent07df9b56fd0eb4abf1ef6a45318519c9d7ae08e3 (diff)
tools/glusterfind: Fix GFID to Path conversion for dir
For Directories, GFID to Path conversion was fine, but wrong filter was used while updating to db. Change-Id: Id588adbb25ff5fd357f8cc2d5485bd2eb4a52b65 Signed-off-by: Aravinda VK <avishwan@redhat.com> BUG: 1230127 Reviewed-on: http://review.gluster.org/11158 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Kotresh HR <khiremat@redhat.com> Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/glusterfind/src/changelog.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/glusterfind/src/changelog.py b/tools/glusterfind/src/changelog.py
index b5f71c7c0ee..fd2384beccf 100644
--- a/tools/glusterfind/src/changelog.py
+++ b/tools/glusterfind/src/changelog.py
@@ -101,7 +101,7 @@ def populate_pgfid_and_inodegfid(brick, changelog_data):
path = output_path_prepare(path, args.output_prefix)
changelog_data.gfidpath_update({"path1": path},
- {"gfid": row[0]})
+ {"gfid": gfid})
else:
try:
# INODE and GFID to inodegfid table