mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-03-21 20:51:45 +00:00
refactor: remove using resourceName to determine is vGPU device (#741)
This commit is contained in:
parent
519c7d9f1f
commit
5aea476f64
@ -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() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user