From 45c0537c4171acdff3ff16bdddcbe1ae571e493f Mon Sep 17 00:00:00 2001 From: mkarmah Date: Fri, 15 Nov 2024 18:32:21 +0000 Subject: [PATCH] align to right --- integrations/sonarqube/main.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/integrations/sonarqube/main.py b/integrations/sonarqube/main.py index 63cdc2d60e..0195e5d9e2 100644 --- a/integrations/sonarqube/main.py +++ b/integrations/sonarqube/main.py @@ -59,11 +59,11 @@ async def on_saas_analysis_resync(kind: str) -> ASYNC_GENERATOR_RESYNC_TYPE: yield analyses_list fetched_analyses = True - if not fetched_analyses: - logger.error("No analysis found in Sonarqube") - raise RuntimeError( - "No analysis found in Sonarqube, failing the resync to avoid data loss" - ) + if not fetched_analyses: + logger.error("No analysis found in Sonarqube") + raise RuntimeError( + "No analysis found in Sonarqube, failing the resync to avoid data loss" + ) @ocean.on_resync(ObjectKind.ONPREM_ANALYSIS)