Try to fix the bad query that makes mysql a sad panda.
This commit is contained in:
parent
f4642be11a
commit
57dc1e045a
1 changed files with 14 additions and 13 deletions
|
@ -1034,6 +1034,7 @@ def garbage_collect_repository(namespace_name, repository_name):
|
|||
|
||||
image_to_remove.delete_instance()
|
||||
|
||||
if uuids_to_check_for_gc:
|
||||
storage_to_remove = (ImageStorage
|
||||
.select()
|
||||
.join(Image, JOIN_LEFT_OUTER)
|
||||
|
|
Reference in a new issue