Skip to content

Commit

Permalink
fix partner interconnect json tag (#782)
Browse files Browse the repository at this point in the history
  • Loading branch information
apinonformoso authored Feb 12, 2025
1 parent c35cc9d commit 826288e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion partner_interconnect_attachments.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ type BGP struct {
// LocalRouterIP is the local router IP
LocalRouterIP string `json:"local_router_ip,omitempty"`
// PeerASN is the peer ASN
PeerASN int `json:"peer_asn,omitempty"`
PeerASN int `json:"peer_router_asn,omitempty"`
// PeerRouterIP is the peer router IP
PeerRouterIP string `json:"peer_router_ip,omitempty"`
}
Expand Down
2 changes: 1 addition & 1 deletion partner_interconnect_attachments_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ var vInterconnectTestJSON = `
"bgp":{
"local_asn":64532,
"local_router_ip":"169.250.0.1",
"peer_asn":133937,
"peer_router_asn":133937,
"peer_router_ip":"169.250.0.6"
},
"created_at":"2024-12-26T21:48:40.995304079Z"
Expand Down

0 comments on commit 826288e

Please sign in to comment.