metal-cli
metal-cli copied to clipboard
Metal CLI get interconnection of a project returns error
What happened?
Retrieving project's connections returns json error
❯ go run ./cmd/metal/main.go conn list -p 0584bf5d-dd7d-4e49-bc2d-ebfdf41b3c55
Error: could not list Project Interconnections: json: cannot unmarshal number 10000000000 into Go struct field _InterconnectionList.interconnections of type int32
exit status 1
https://github.com/equinix/equinix-sdk-go/issues/16
How can we reproduce it?
- Create a project
- create a shared interconnection with any speed. I used
5000000 - use metal cli to get the connection as command above
CLI version (metal --version):
v0.19.0