mirror of
https://github.com/bpg/terraform-provider-proxmox.git
synced 2025-07-02 03:22:59 +00:00
fix(vm): fix PCI device resource mapping changed (#517)
This commit is contained in:
parent
731dad8794
commit
b1ac87df1d
@ -3945,7 +3945,7 @@ func vmReadCustom(
|
||||
|
||||
pciDevices := getPCIInfo(vmConfig, d)
|
||||
for pi, pp := range pciDevices {
|
||||
if (pp == nil) || (pp.DeviceIDs == nil) {
|
||||
if (pp == nil) || (pp.DeviceIDs == nil && pp.Mapping == nil) {
|
||||
continue
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user