Add change set and code change

Signed-off-by: cmoulliard <cmoulliard@redhat.com>
This commit is contained in:
cmoulliard
2024-02-19 12:11:02 +01:00
parent 922b80d77c
commit ef0f44e423
2 changed files with 8 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-scaffolder-backend-module-gitea': patch
---
Add missing break within the while statement to exit from the while maxDuration statement when the gitea repository has been created and exists
@@ -178,6 +178,9 @@ async function checkAvailabilityGiteaRepository(
if (response.status !== 200) {
// Repository is not yet available/accessible ...
await sleep(1000);
} else {
// Gitea repository exists !
break;
}
}
}