Try to fix the bad query that makes mysql a sad panda.

This commit is contained in:
jakedt 2014-02-18 20:41:00 -05:00
parent f4642be11a
commit 57dc1e045a

View file

@ -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)