mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-12-01 12:48:53 +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:
1 parent
4e84b1264e
commit
42c431d278
3 files changed
+12
-2
No files matched your search
@@ -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