-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Updated metal-go client for sub-commands ips #291
Conversation
} | ||
|
||
reservation, _, err := c.ProjectService.Request(projectID, req) | ||
reservation, _, err := c.IPService.RequestIPReservation(context.Background(), projectID).RequestIPReservationRequest(*requestIPReservationRequest).Execute() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The following command throws an Error, but but request is accepted and allocated IP's
Vasubabus-MacBook-Pro:bin vasubabu$ ./metal ip request -p a48e16b7-77bd-4172-b25f-3e8633e1e171 -t public_ipv4 -m da -q 4
Error: Could not request IP addresses: data matches more than one schema in oneOf(RequestIPReservation201Response)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Your fix for this was released in [email protected]
, so you can update to that version in this PR to resolve the issue.
Breakout from #270 What this PR does / why we need it: This PR replaces packngo with metal-go for all interactions with the Equinix Metal API specifically for ports sub commands DISCUSSION POINTS: META parameter is missing in IPAddressList https://github.com/vasubabu/metal-go/blob/main/docs/IPReservationList.md
Breakout from #270
What this PR does / why we need it:
This PR replaces packngo with metal-go for all interactions with the Equinix Metal API specifically for ports sub commands
DISCUSSION POINTS:
META parameter is missing in IPAddressList https://github.com/vasubabu/metal-go/blob/main/docs/IPReservationList.md