-
Notifications
You must be signed in to change notification settings - Fork 318
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
NAS-133481 / 25.04 / Changes for VMs in new virtualization #11323
base: master
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
✅ All tests successful. No failed tests found. Additional details and impacted files@@ Coverage Diff @@
## master #11323 +/- ##
===========================================
- Coverage 82.74% 53.27% -29.47%
===========================================
Files 1654 1654
Lines 59135 59158 +23
Branches 6218 6225 +7
===========================================
- Hits 48932 31518 -17414
- Misses 10203 27640 +17437 ☔ View full report in Codecov by Sentry. |
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.
The CPU and memory field are not required on the instance wizard. You can leave them empty.
@@ -63,6 +63,8 @@ export class InstanceDiskFormComponent implements OnInit { | |||
return !this.isNew() ? this.translate.instant('Edit Disk') : this.translate.instant('Add Disk'); | |||
}); | |||
|
|||
protected instance = computed(() => this.slideInRef.getData().instance); |
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.
The computed callback doesn't have a signal call. This could just be a signal.
protected instance = signal(this.slideInRef.getData().instance);
Or maybe doesn't need to be a signal
@@ -112,7 +117,7 @@ export class InstanceDiskFormComponent implements OnInit { | |||
} | |||
|
|||
private prepareRequest(): Observable<unknown> { | |||
const instanceId = this.slideInRef.getData().instanceId; | |||
const instanceId = this.slideInRef.getData().instance.id; |
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.
Can reuse the signal
Changes:
Testing:
Checks Instance Wizard on Virtualization page.
Downstream