fix(error with repository): removed a field that is not being used

this causes an exception when getting releases

Issue: https://coreosdev.atlassian.net/browse/QUAY-753

- [ ] It works!
- [ ] Comments provide sufficient explanations for the next contributor
- [ ] Tests cover changes and corner cases
- [ ] Follows Quay syntax patterns and format
This commit is contained in:
Charlton Austin 2017-07-27 10:18:40 -04:00
parent c271b1f386
commit 11b1dca994
2 changed files with 2 additions and 3 deletions

View file

@ -149,7 +149,7 @@ class PreOCIModel(RepositoryDataInterface):
releases_channels_map = defaultdict(list)
return ApplicationRepository(
base, [create_channel(channel, releases_channels_map) for channel in channels], [
Release(release.name, release.released, release.lifetime_start, releases_channels_map)
Release(release.name, release.lifetime_start, releases_channels_map)
for release in releases
])