fix a bug on error reporting

This commit is contained in:
Chris Lu 2018-08-22 18:19:26 -07:00
parent 1f030af06f
commit b23883b3b6

View file

@ -54,7 +54,7 @@ func (store *UniversalRedisStore) FindEntry(fullpath filer2.FullPath) (entry *fi
}
if err != nil {
return nil, fmt.Errorf("get %s : %v", entry.FullPath, err)
return nil, fmt.Errorf("get %s : %v", fullpath, err)
}
entry = &filer2.Entry{