Some small cleanup to the tag backfill worker

This commit is contained in:
Joseph Schorr 2019-01-21 13:37:11 -05:00
parent bd6efe9563
commit c1ac12ff8d
3 changed files with 4 additions and 7 deletions

View file

@ -194,10 +194,6 @@ class DockerSchema1Manifest(ManifestInterface):
if validate:
self._validate()
@classmethod
def for_latin1_bytes(cls, encoded_bytes, validate=True):
return DockerSchema1Manifest(Bytes.for_string_or_unicode(encoded_bytes), validate)
def _validate(self):
if not self._signatures:
return