Don't require certs for clair anymore

This commit is contained in:
Evan Cordell 2016-04-26 19:46:25 -05:00 committed by Jimmy Zelinskie
parent 822b253b85
commit 474884acd7

View file

@ -57,9 +57,5 @@ class SecurityConfigValidator(object):
logger.debug('ENDPOINT field in SECURITY_SCANNER configuration must start with http or https') logger.debug('ENDPOINT field in SECURITY_SCANNER configuration must start with http or https')
return False return False
if endpoint.startswith('https://') and (self._certificate is False or self._keys is None):
logger.debug('Certificate and key pair required for talking to security worker over HTTPS')
return False
return True return True