Browse Source

fix issue 34

pull/2/head
Chris Lu 12 years ago
parent
commit
ff1c04c486
  1. 3
      go/storage/store.go

3
go/storage/store.go

@ -146,9 +146,8 @@ func (s *Store) FreezeVolume(volumeIdString string) error {
return fmt.Errorf("Volume %s is already read-only", volumeIdString)
}
return v.freeze()
} else {
return fmt.Errorf("volume id %s is not found during freeze!", vid)
}
return fmt.Errorf("volume id %s is not found during freeze!", vid)
}
func (l *DiskLocation) loadExistingVolumes() {
if dirs, err := ioutil.ReadDir(l.directory); err == nil {

Loading…
Cancel
Save