Add blob support to get_legacy_image

This commit is contained in:
Joseph Schorr 2018-09-13 15:51:14 -04:00
parent 6d5489b254
commit 1bbe41bb36
4 changed files with 27 additions and 7 deletions

View file

@ -42,7 +42,8 @@ class RegistryDataInterface(object):
"""
@abstractmethod
def get_legacy_image(self, repository_ref, docker_image_id, include_parents=False):
def get_legacy_image(self, repository_ref, docker_image_id, include_parents=False,
include_blob=False):
"""
Returns the matching LegacyImages under the matching repository, if any. If none,
returns None.