diff --git a/endpoints/api/repository_models_interface.py b/endpoints/api/repository_models_interface.py index ac54769d7..fe2ff563b 100644 --- a/endpoints/api/repository_models_interface.py +++ b/endpoints/api/repository_models_interface.py @@ -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} """ diff --git a/endpoints/api/repository_models_pre_oci.py b/endpoints/api/repository_models_pre_oci.py index d25ef432d..bac9215f3 100644 --- a/endpoints/api/repository_models_pre_oci.py +++ b/endpoints/api/repository_models_pre_oci.py @@ -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 ])