Skip to content

Commit

Permalink
fix: remove 5 seconds extra wait when configuring registry (redhat-de…
Browse files Browse the repository at this point in the history
…veloper#74)

Signed-off-by: Denis Golovin <[email protected]>
  • Loading branch information
dgolovin authored Mar 5, 2024
1 parent 23a9b5d commit f932641
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -266,11 +266,7 @@ export async function activate(extensionContext: extensionApi.ExtensionContext):
async (progress) => {
// Checking if registry account for https://registry.redhat.io is already configured
if (!isRedHatRegistryConfigured()) {
// Logging into Red Hat Developer account using Red Hat SSO
progress.report({ increment: 30 });
await new Promise(resolve => setTimeout(resolve,5000));
// Configuring registry account for https://registry.redhat.io
progress.report({ increment: 60 });
await createOrReuseRegistryServiceAccount();
}
}
Expand Down

0 comments on commit f932641

Please sign in to comment.