Merge pull request #2369 from jzelinskie/optim-qss

data.model.image: fake QSS progress metric
This commit is contained in:
Jimmy Zelinskie 2017-02-21 17:50:22 -05:00 committed by GitHub
commit 8957541844

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