aboutsummaryrefslogtreecommitdiff
path: root/weed/storage/disk_location_ec.go
diff options
context:
space:
mode:
authorChris Lu <chrislusf@users.noreply.github.com>2021-02-18 03:16:25 -0800
committerGitHub <noreply@github.com>2021-02-18 03:16:25 -0800
commitf23f34d85d34e28a08a92bfcc0e0809cf951113e (patch)
tree88b5976b0e9382883ba21a20098c319a8787c002 /weed/storage/disk_location_ec.go
parent3575d41009e4367658e75e6ae780c6260b80daf9 (diff)
parent352ac2f2712177d6a9c8220bab73823ff6748581 (diff)
downloadseaweedfs-f23f34d85d34e28a08a92bfcc0e0809cf951113e.tar.xz
seaweedfs-f23f34d85d34e28a08a92bfcc0e0809cf951113e.zip
Merge pull request #1813 from bingoohuang/master
Diffstat (limited to 'weed/storage/disk_location_ec.go')
-rw-r--r--weed/storage/disk_location_ec.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/storage/disk_location_ec.go b/weed/storage/disk_location_ec.go
index 0ab45011c..91c7d86a6 100644
--- a/weed/storage/disk_location_ec.go
+++ b/weed/storage/disk_location_ec.go
@@ -14,7 +14,7 @@ import (
)
var (
- re = regexp.MustCompile("\\.ec[0-9][0-9]")
+ re = regexp.MustCompile(`\.ec[0-9][0-9]`)
)
func (l *DiskLocation) FindEcVolume(vid needle.VolumeId) (*erasure_coding.EcVolume, bool) {