diff --git a/data/model/storage.py b/data/model/storage.py index b66b20c49..c76cfa728 100644 --- a/data/model/storage.py +++ b/data/model/storage.py @@ -218,7 +218,7 @@ def set_image_storage_metadata(docker_image_id, namespace_name, repository_name, .join(Repository) .join(Namespace, on=(Repository.namespace_user == Namespace.id)) .switch(Image) - .join(ImageStorage, JOIN_LEFT_OUTER) + .join(ImageStorage) .where(Repository.name == repository_name, Namespace.username == namespace_name, Image.docker_image_id == docker_image_id))