mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
minor
This commit is contained in:
parent
ee6c67682c
commit
ed6aa13520
|
@ -115,8 +115,7 @@ func (fs *FilerServer) moveSelfEntry(ctx context.Context, oldParent util.FullPat
|
|||
Extended: entry.Extended,
|
||||
Content: entry.Content,
|
||||
}
|
||||
createErr := fs.filer.CreateEntry(ctx, newEntry, false, false, nil)
|
||||
if createErr != nil {
|
||||
if createErr := fs.filer.CreateEntry(ctx, newEntry, false, false, nil); createErr != nil {
|
||||
return createErr
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue