mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-11-11 22:38:53 +01:00
checking error
This commit is contained in:
1 parent
79d11ac951
commit
38f4425a65
1 file changed
+4
-1
+4
-1
@@ -89,7 +89,10 @@ func runExport(cmd *Command, args []string) bool {
|
||||
}
|
||||
defer indexFile.Close()
|
||||
|
||||
nm := storage.LoadNeedleMap(indexFile)
|
||||
nm, err := storage.LoadNeedleMap(indexFile)
|
||||
if err != nil {
|
||||
log.Fatalf("cannot load needle map from %s: %s", indexFile, err)
|
||||
}
|
||||
|
||||
var version storage.Version
|
||||
|
||||
|
||||
Reference in new issue
Block a user