Merge pull request #2829 from charltonaustin/fix_bug_with_v2_2

fix(error with repository): removed a field that is not being used
This commit is contained in:
Charlton Austin 2017-07-27 10:40:43 -04:00 committed by GitHub
commit 78f77017e8
2 changed files with 2 additions and 3 deletions

View file

@ -131,11 +131,10 @@ class Channel(namedtuple('Channel', ['name', 'linked_tag_name', 'linked_tag_life
class Release(
namedtuple('Channel', ['name', 'released', 'lifetime_start', 'releases_channels_map'])):
namedtuple('Channel', ['name', 'lifetime_start', 'releases_channels_map'])):
"""
Repository a single quay repository
:type name: string
:type released: string
:type last_modified: string
:type releases_channels_map: {string -> string}
"""

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
])