Repair secscan's analyze_layer API call
This commit is contained in:
parent
85208ae5a3
commit
4f7a66ab0e
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ class SecurityScannerAPI(object):
|
|||
|
||||
logger.info('Analyzing layer %s', request['Layer']['Name'])
|
||||
try:
|
||||
response = self._call('POST', _API_METHOD_INSERT, request)
|
||||
response = self._call('POST', _API_METHOD_INSERT, body=request)
|
||||
json_response = response.json()
|
||||
except requests.exceptions.Timeout:
|
||||
logger.exception('Timeout when trying to post layer data response for %s', layer.id)
|
||||
|
|
Reference in a new issue