mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-29 08:20:42 +01:00
fix compilation
This commit is contained in:
1 parent
c3cb6fa1d7
commit
b964bbab3d
1 file changed
+1
-1
@@ -229,7 +229,7 @@ func (s *Store) Close() {
|
||||
|
||||
func (s *Store) WriteVolumeNeedle(i needle.VolumeId, n *needle.Needle) (isUnchanged bool, err error) {
|
||||
if v := s.findVolume(i); v != nil {
|
||||
if v.v.IsReadOnly() {
|
||||
if v.IsReadOnly() {
|
||||
err = fmt.Errorf("volume %d is read only", i)
|
||||
return
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user