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-12 03:51:02 -0700
commit99633601f3719bd0bf5e5203ef844ebb087060e6 (patch)
treef1a6501f40c1d2aabeb2ffd4db03f57181337c23 /tools
parent91190eccd58ac6492979cc34d9987357268e3cd6 (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> Reviewed-on: http://review.gluster.org/#/c/11158/ BUG: 1230712 Reviewed-on: http://review.gluster.org/11184 Tested-by: Gluster Build System <jenkins@build.gluster.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 b5f71c7..fd2384b 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