func (vf *volumeFactory) Build(bcVol baggageclaim.Volume) (Volume, error) { bcVol.Release(0) vol := newVolume(vf.logger, bcVol, vf.clock, vf.db) return vol, nil }
func (vf *volumeFactory) Build(logger lager.Logger, bcVol baggageclaim.Volume) (Volume, bool, error) { bcVol.Release(nil) return newVolume(logger, bcVol, vf.clock, vf.db) }