Add change set and code change
Signed-off-by: cmoulliard <cmoulliard@redhat.com>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user