fix compilation error

This commit is contained in:
Chris Lu 2020-01-07 09:03:47 -08:00
parent aa73364a24
commit dc9457fb87

View file

@ -76,7 +76,7 @@ func runFix(cmd *Command, args []string) bool {
nm: nm, nm: nm,
} }
if err = storage.ScanVolumeFile(*fixVolumePath, *fixVolumeCollection, vid, storage.NeedleMapInMemory, scanner); err != nil { if err := storage.ScanVolumeFile(*fixVolumePath, *fixVolumeCollection, vid, storage.NeedleMapInMemory, scanner); err != nil {
glog.Fatalf("scan .dat File: %v", err) glog.Fatalf("scan .dat File: %v", err)
os.Remove(indexFileName) os.Remove(indexFileName)
} }