fix indentation
This commit is contained in:
parent
dc79000d8f
commit
e3a39d7bd6
1 changed files with 7 additions and 6 deletions
|
@ -344,9 +344,10 @@ def load_manifest_by_digest(namespace, repo_name, digest):
|
||||||
|
|
||||||
|
|
||||||
def _load_repo_manifests(namespace, repo_name):
|
def _load_repo_manifests(namespace, repo_name):
|
||||||
return _tag_alive(TagManifest
|
return _tag_alive(TagManifest
|
||||||
.select(TagManifest, RepositoryTag, Repository)
|
.select(TagManifest, RepositoryTag)
|
||||||
.join(RepositoryTag)
|
.join(RepositoryTag)
|
||||||
.join(Repository)
|
.join(Image)
|
||||||
.join(Namespace, on=(Namespace.id == Repository.namespace_user))
|
.join(Repository)
|
||||||
.where(Repository.name == repo_name, Namespace.username == namespace))
|
.join(Namespace, on=(Namespace.id == Repository.namespace_user))
|
||||||
|
.where(Repository.name == repo_name, Namespace.username == namespace))
|
||||||
|
|
Reference in a new issue