0
0
mirror of https://github.com/bpg/terraform-provider-proxmox.git synced 2025-07-01 19:12:59 +00:00

fix(node): ignore field bridge_fd when listing network interfaces of a node (#414)

This commit is contained in:
Pavel Boldyrev 2023-07-08 21:47:13 -04:00 committed by GitHub
parent 16ee6a9f95
commit 01a845636a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,11 +17,14 @@ type NetworkInterfaceListResponseBody struct {
// NetworkInterfaceListResponseData contains the data from a node network interface list response.
type NetworkInterfaceListResponseData struct {
// There seems to be inconsistency in the APIs between certain versions of Proxmox.
// See https://github.com/bpg/terraform-provider-proxmox/issues/410
// BridgeFD *int `json:"bridge_fd,omitempty"`
Active *types.CustomBool `json:"active,omitempty"`
Address *string `json:"address,omitempty"`
Address6 *string `json:"address6,omitempty"`
Autostart *types.CustomBool `json:"autostart,omitempty"`
BridgeFD *int `json:"bridge_fd,omitempty"`
BridgePorts *string `json:"bridge_ports,omitempty"`
BridgeSTP *string `json:"bridge_stp,omitempty"`
BridgeVIDs *string `json:"bridge_vids,omitempty"`