diff --git a/data/model/image.py b/data/model/image.py index 1bda70978..6b8a38a09 100644 --- a/data/model/image.py +++ b/data/model/image.py @@ -502,7 +502,10 @@ def get_images_eligible_for_scan(clair_version): def get_count_of_images_eligible_for_scan(clair_version): """ Returns a query that gives all images eligible for a clair scan """ - return get_images_eligible_for_scan(clair_version).count() + # TODO(jzelinskie): Get this value from the slab allocator rather than querying the db + # This was the previous implementation: + # return get_images_eligible_for_scan(clair_version).count() + return 0 def get_image_with_storage_and_parent_base():