Skip to content

Commit

Permalink
align to right
Browse files Browse the repository at this point in the history
  • Loading branch information
mk-armah committed Nov 15, 2024
1 parent 5746fb9 commit 45c0537
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions integrations/sonarqube/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 45c0537

Please sign in to comment.