Skip to content

Commit

Permalink
fix: update info message and options to match
Browse files Browse the repository at this point in the history
Signed-off-by: Denis Golovin <[email protected]>
  • Loading branch information
dgolovin authored May 20, 2024
1 parent 585bd33 commit f69f012
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/crc-start.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,12 @@ export async function startCrc(
async function askAndStorePullSecret(logger: extensionApi.Logger): Promise<boolean> {
let pullSecret: string;
const howToPull = await extensionApi.window.showInformationMessage(
'To pull container images from the registry, a *pull secret* is necessary. You can login into your Red Hat SSO account to get it configured automatically or manually copy it from browser and paste when requested.',
'To pull container images from the registry, a *pull secret* is necessary. You can sign in with Red Hat SSO to get it configured automatically or manually copy it from browser and paste when requested.',
'Sign in with Red Hat SSO',
'Configure manually',
);
if (howToPull) {
if (howToPull === 'Use Red Hat SSO Account') {
if (howToPull === 'Sign in with Red Hat SSO') {
const authSession: extensionApi.AuthenticationSession | undefined = await extensionApi.authentication.getSession(
'redhat.authentication-provider',
[
Expand Down

0 comments on commit f69f012

Please sign in to comment.