data.model.image: fake QSS progress metric

This commit is contained in:
Jimmy Zelinskie 2017-02-21 17:48:40 -05:00
parent 0214b1ba9f
commit 3d21af59fd

View file

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