diff options
| author | Chris Lu <chris.lu@gmail.com> | 2014-04-14 01:00:09 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2014-04-14 01:00:09 -0700 |
| commit | 56a3d30e755328e16329816b96b8d6efdc7a4b46 (patch) | |
| tree | 1e68189ab989d64db4d8a814f436cede9da6c62b /go/storage | |
| parent | 460923f09421f8c18493e2054ef8024c11c4eb67 (diff) | |
| download | seaweedfs-56a3d30e755328e16329816b96b8d6efdc7a4b46.tar.xz seaweedfs-56a3d30e755328e16329816b96b8d6efdc7a4b46.zip | |
batch delete on volume servers
Diffstat (limited to 'go/storage')
| -rw-r--r-- | go/storage/store.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/go/storage/store.go b/go/storage/store.go index 3e9597e83..6a853122f 100644 --- a/go/storage/store.go +++ b/go/storage/store.go @@ -352,7 +352,7 @@ func (s *Store) Read(i VolumeId, n *Needle) (int, error) { if v := s.findVolume(i); v != nil { return v.read(n) } - return 0, fmt.Errorf("Volume %s not found!", i) + return 0, fmt.Errorf("Volume %v not found!", i) } func (s *Store) GetVolume(i VolumeId) *Volume { return s.findVolume(i) |
