fix(terraform): fix Exception in image ref
fix Exception in image ref
@@ -159,7 +159,7 @@ class ImageScanner:
"Unexpected failure happened during retrieving image scanning result from cache. details are below.\n"
"Note that the scan is still running. if it is repeated, please report.", exc_info=True)
logging.debug(str(e))
- return None
+ return {}
@staticmethod
def _extract_cache_results_for_image(image_id: str, response_json: dict[str, str]) -> dict[str, Any] | None:
