mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-10-01 03:36:04 +08:00
refactor: remove using resourceName to determine is vGPU device (#741)
This commit is contained in:
@@ -58,7 +58,7 @@ export default class PCIDevice extends SteveModel {
|
||||
return false;
|
||||
}
|
||||
|
||||
return !!this.metadata?.labels?.[HCI_ANNOTATIONS.PARENT_SRIOV_GPU] || this.status?.resourceName.includes('nvidia.com');
|
||||
return !!this.metadata?.labels?.[HCI_ANNOTATIONS.PARENT_SRIOV_GPU];
|
||||
}
|
||||
|
||||
get canYaml() {
|
||||
|
||||
Reference in New Issue
Block a user