mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-09-16 03:20:50 +02:00
fix error format
This commit is contained in:
@@ -165,7 +165,7 @@ func (metaBackup *FilerMetaBackupOptions) traverseMetadata() (err error) {
|
||||
|
||||
println("+", fullpath)
|
||||
if err := metaBackup.store.InsertEntry(context.Background(), filer.FromPbEntry(string(parentPath), entry)); err != nil {
|
||||
return fmt.Errorf("insert entry error: %w\n", err)
|
||||
return fmt.Errorf("insert entry error: %w", err)
|
||||
}
|
||||
return nil
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user