equinixmetal-archive / packngo

[Deprecated] A Golang client for the Equinix Metal API. (Packet is now Equinix Metal)
https://deploy.equinix.com/labs/equinix-sdk-go/
Other
79 stars 53 forks source link

Add BGPSessions.Update method. #363

Closed lukasz-drozdz-codilime closed 1 year ago

lukasz-drozdz-codilime commented 1 year ago

packngo is missing the ability to update the BGP session via the PUT /bgp/sessions/{id} endpoint.

This PR adds that via the Update method.

Please help me get this merged. I'm open for suggestions.

lukasz-drozdz-codilime commented 1 year ago

Done. Could you take a look @ctreatma ?