Browse Source

add warning message

pull/2/head
Chris Lu 12 years ago
parent
commit
f5a8382933
  1. 1
      weed-fs/src/pkg/storage/store.go

1
weed-fs/src/pkg/storage/store.go

@ -135,6 +135,7 @@ func (s *Store) Write(i VolumeId, n *Needle) uint32 {
if v := s.volumes[i]; v != nil { if v := s.volumes[i]; v != nil {
return v.write(n) return v.write(n)
} }
log.Println("volume",i, "not found!")
return 0 return 0
} }
func (s *Store) Delete(i VolumeId, n *Needle) uint32 { func (s *Store) Delete(i VolumeId, n *Needle) uint32 {

Loading…
Cancel
Save