aboutsummaryrefslogtreecommitdiff
path: root/weed/storage/disk_location.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/storage/disk_location.go')
-rw-r--r--weed/storage/disk_location.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/storage/disk_location.go b/weed/storage/disk_location.go
index b7fa82197..9f61ad872 100644
--- a/weed/storage/disk_location.go
+++ b/weed/storage/disk_location.go
@@ -138,7 +138,7 @@ func (l *DiskLocation) loadExistingVolume(dirEntry os.DirEntry, needleMapKind Ne
// skip if ec volumes exists
if skipIfEcVolumesExists {
- if util.FileExists(l.Directory + "/" + volumeName + ".ecx") {
+ if util.FileExists(l.IdxDirectory + "/" + volumeName + ".ecx") {
return false
}
}