Browse Source

fix compilation error

pull/1189/head
Chris Lu 5 years ago
parent
commit
dc9457fb87
  1. 2
      weed/command/fix.go

2
weed/command/fix.go

@ -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)
} }

Loading…
Cancel
Save