chore: hot fix panic fs.verify (#5696)
This commit is contained in:
committed by
GitHub
parent
610d397f76
commit
34165013c8
@@ -163,9 +163,10 @@ func (c *commandFsVerify) verifyProcessMetadata(path string, wg *sync.WaitGroup)
|
|||||||
Directory: message.NewParentPath,
|
Directory: message.NewParentPath,
|
||||||
Name: message.NewEntry.Name,
|
Name: message.NewEntry.Name,
|
||||||
})
|
})
|
||||||
if strings.HasSuffix(errReq.Error(), "no entry is found in filer store") {
|
if errReq != nil {
|
||||||
return nil
|
if strings.HasSuffix(errReq.Error(), "no entry is found in filer store") {
|
||||||
} else if errReq != nil {
|
return nil
|
||||||
|
}
|
||||||
return errReq
|
return errReq
|
||||||
}
|
}
|
||||||
if entryResp.Entry.Attributes.Mtime == message.NewEntry.Attributes.Mtime &&
|
if entryResp.Entry.Attributes.Mtime == message.NewEntry.Attributes.Mtime &&
|
||||||
|
|||||||
Reference in New Issue
Block a user