From 3d21af59fd9ca37582f029fac7f9a61e4b8c4701 Mon Sep 17 00:00:00 2001 From: Jimmy Zelinskie Date: Tue, 21 Feb 2017 17:48:40 -0500 Subject: [PATCH] data.model.image: fake QSS progress metric --- data/model/image.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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():