aboutsummaryrefslogtreecommitdiff
path: root/weed/storage
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2019-06-27 12:18:59 -0700
committerChris Lu <chris.lu@gmail.com>2019-06-27 12:18:59 -0700
commita3d1296ed9c914dc2ffef87ba7568edfafc6efac (patch)
tree4f7731a1fd11191e4fae5ca14fd5d7b9ee079709 /weed/storage
parentec75b2d761e9b38530674a3d0a1e17adc154cc1a (diff)
downloadseaweedfs-a3d1296ed9c914dc2ffef87ba7568edfafc6efac.tar.xz
seaweedfs-a3d1296ed9c914dc2ffef87ba7568edfafc6efac.zip
go fmt
Diffstat (limited to 'weed/storage')
-rw-r--r--weed/storage/store.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/storage/store.go b/weed/storage/store.go
index 3d4859a97..d2dd76d52 100644
--- a/weed/storage/store.go
+++ b/weed/storage/store.go
@@ -252,7 +252,7 @@ func (s *Store) HasVolume(i needle.VolumeId) bool {
return v != nil
}
-func (s *Store) MarkVolumeReadonly(i needle.VolumeId) error{
+func (s *Store) MarkVolumeReadonly(i needle.VolumeId) error {
v := s.findVolume(i)
if v == nil {
return fmt.Errorf("volume %d not found", i)