mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-10-14 19:05:12 +08:00
refactor functions
This commit is contained in:
@@ -130,7 +130,7 @@ type nameParams struct {
|
||||
}
|
||||
|
||||
func walker(vid storage.VolumeId, n *storage.Needle, version storage.Version) (err error) {
|
||||
key := storage.NewFileId(vid, n.Id, n.Cookie).String()
|
||||
key := storage.NewFileIdFromNeedle(vid, n).String()
|
||||
if tarFh != nil {
|
||||
fnTmplBuf.Reset()
|
||||
if err = fnTmpl.Execute(fnTmplBuf,
|
||||
|
Reference in New Issue
Block a user