go fmt
This commit is contained in:
@@ -252,7 +252,7 @@ func (s *Store) HasVolume(i needle.VolumeId) bool {
|
|||||||
return v != nil
|
return v != nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s *Store) MarkVolumeReadonly(i needle.VolumeId) error{
|
func (s *Store) MarkVolumeReadonly(i needle.VolumeId) error {
|
||||||
v := s.findVolume(i)
|
v := s.findVolume(i)
|
||||||
if v == nil {
|
if v == nil {
|
||||||
return fmt.Errorf("volume %d not found", i)
|
return fmt.Errorf("volume %d not found", i)
|
||||||
|
|||||||
Reference in New Issue
Block a user