Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
Fix availability zones
Browse files Browse the repository at this point in the history
Signed-off-by: Fred Bricon <fbricon@gmail.com>
  • Loading branch information
fbricon committed Aug 24, 2021
1 parent d730300 commit bf374c8
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

All notable changes to the `Red Hat OpenShift Application Services` extension will be documented in this file.

## 0.0.3 (23/08/2021)
## 0.0.3 (24/08/2021)

- Create and delete remote RHOSAK clusters [#3](https://github.com/redhat-developer/vscode-rhoas/pull/3).
- Update logo
Expand Down
Binary file modified doc/images/cluster-dashboard.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified doc/images/create-rhosak.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions doc/kafkaSupport.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ Please read the [`Tools for Apache Kafka` documentation](https://github.com/jlan
If you want to create a new remote cluster, you can do so by clicking on the `Create new remote cluster` button, after trying to discover existing clusters. You will then need to select:
- a cluster name,
- the cloud provider (only `Amazon Web Services` is available at the moment),
- the cloud region (only `us-east-1` is available at the moment),
- multizone (`true` is the only choice at the moment).
- the cloud region (only `US East, N. Virginia` is available at the moment),
- availability zones (only `Multi` is available at the moment).

Creating the cluster usually takes 3 to 4 minutes.
A progress dialog will be displayed while the cluster is being created.
Expand Down
6 changes: 3 additions & 3 deletions src/wizard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,13 +153,13 @@ async function inputRegion(input: MultiStepInput, state: Partial<NewClusterState
}

async function inputMultiZone(input: MultiStepInput, state: Partial<NewClusterState>) {
const choices: QuickPickItem[] = [{label:'true'}];
const choices: QuickPickItem[] = [{label:'Multi'}];
state.multi_az = choices[0] === (await input.showQuickPick({
title: "Multizone",
title: "Availability zones",
step: input.getStepNumber(),
totalSteps: state.totalSteps,
items: choices,
activeItem: choices.find(item => item.label === `${state.multi_az}`),
prompt: 'Multizone',
prompt: 'Availability zones',
}));
}

0 comments on commit bf374c8

Please sign in to comment.