mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
checking error
This commit is contained in:
parent
79d11ac951
commit
38f4425a65
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue