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

allow FabricServiceToken ExpiresAt null value #340

Closed ocobles closed 2 years ago

ocobles commented 2 years ago

Reported in https://github.com/equinix/terraform-provider-equinix/issues/147, API can return null values for the field Timestamp once the token is activated.

ExpiresAt must be a pointer to allow null Timestamp

Fix https://github.com/packethost/packngo/issues/339