Move the upload flag to the database, and use the database stored image size rather than going to s3.
This commit is contained in:
parent
21304a5678
commit
ef9fe871fc
7 changed files with 35 additions and 36 deletions
|
@ -817,7 +817,7 @@ def get_repository(namespace_name, repository_name):
|
|||
|
||||
def get_repo_image(namespace_name, repository_name, image_id):
|
||||
query = (Image
|
||||
.select()
|
||||
.select(Image, ImageStorage)
|
||||
.join(Repository)
|
||||
.switch(Image)
|
||||
.join(ImageStorage, JOIN_LEFT_OUTER)
|
||||
|
|
Reference in a new issue