mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-10-01 03:36:04 +08:00
add warning banner for cpu pinning VM in migration dialog
Signed-off-by: andy.lee <andy.lee@suse.com>
This commit is contained in:
@@ -459,6 +459,10 @@ export default class VirtVm extends HarvesterResource {
|
||||
return null;
|
||||
}
|
||||
|
||||
get isCpuPinning() {
|
||||
return this.spec?.template?.spec?.domain?.cpu?.dedicatedCpuPlacement === true;
|
||||
}
|
||||
|
||||
get isVMExpectedRunning() {
|
||||
if (!this?.spec) {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user