-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test #6688
test #6688
Conversation
Jitendra Kumar seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
Setting up the volumeCount for aws provider to 1 whose instanceType starting with c5/c4. |
Kindly review the changes, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add junit tests for changes in InstanceTypeController.java.
// setting up the volumeCount to 1 for instanceType starting with c5/c4 | ||
for (InstanceType instanceType: instanceTypeList) { | ||
if (provider.code.equals(aws.toString()) && | ||
((instanceType.idKey.instanceTypeCode.startsWith("c5")) || |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is incorrect. c5d
instances are similar to i3 instances in that they use NVMe drives. So we want to use the value present in the details.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @Arnav15 for confirming this. Will do this only for c4/C5 instance type which won't include c5d.
Will do necessary changes and update CR.
@@ -608,7 +609,7 @@ export default class ClusterFields extends Component { | |||
if (volumeDetail) { | |||
const deviceInfo = { | |||
volumeSize: volumeDetail.volumeSizeGB, | |||
numVolumes: volumesList.length, | |||
numVolumes: volumeCount, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could you please update logic here as well
yugabyte-db/managed/ui/src/redesign/universe/wizard/fields/DeviceInfoField/DeviceInfoField.tsx
Line 65 in b6bc73a
numVolumes: volumeDetailsList.length, |
Will raise another PR. |
No description provided.