yapf
This commit is contained in:
parent
1ddb09ac11
commit
27ed3bedcc
5 changed files with 9 additions and 7 deletions
|
@ -10,6 +10,7 @@ logger = logging.getLogger(__name__)
|
|||
unscanned_images_gauge = prometheus.create_gauge('unscanned_images',
|
||||
'Number of images that clair needs to scan.')
|
||||
|
||||
|
||||
def index_images(target_version, analyzer, token=None):
|
||||
""" Performs security indexing of all images in the database not scanned at the target version.
|
||||
If a token is provided, scanning will begin where the token indicates it previously completed.
|
||||
|
|
Reference in a new issue