Merge pull request #2218 from charltonaustin/fix_set_to_Set
Fixing api usage.
This commit is contained in:
commit
9720efbdb6
1 changed files with 2 additions and 2 deletions
|
@ -45,10 +45,10 @@ class GlobalPrometheusStatsWorker(Worker):
|
||||||
|
|
||||||
if features.SECURITY_SCANNER:
|
if features.SECURITY_SCANNER:
|
||||||
# Clair repo counts.
|
# Clair repo counts.
|
||||||
unscanned_images_gauge.set(
|
unscanned_images_gauge.Set(
|
||||||
get_count_of_images_eligible_for_scan(app.config.get('SECURITY_SCANNER_ENGINE_VERSION_TARGET', 2))
|
get_count_of_images_eligible_for_scan(app.config.get('SECURITY_SCANNER_ENGINE_VERSION_TARGET', 2))
|
||||||
)
|
)
|
||||||
images_gauge.set(total_image_count())
|
images_gauge.Set(total_image_count())
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
|
Reference in a new issue