-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: handle VRF Gateways in "metal gateway list" (#479)
Adds `metal gateway list` support for VRF Gateways. **Why is this needed?** ``` $ metal gateway get panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0xad902e] goroutine 1 [running]: github.com/equinix/metal-cli/internal/gateway.(*Client).Retrieve.func1(0xc00021c308?, {0x12e08e0?, 0x0?, 0x0?}) /home/runner/work/metal-cli/metal-cli/internal/gateway/retrieve.go:70 +0x56e github.com/spf13/cobra.(*Command).execute(0xc00021c308, {0x12e08e0, 0x0, 0x0}) /home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:983 +0xaca github.com/spf13/cobra.(*Command).ExecuteC(0xc000134608) /home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:1115 +0x3ff github.com/spf13/cobra.(*Command).Execute(0xc0000061c0?) /home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:1039 +0x13 main.main() /home/runner/work/metal-cli/metal-cli/cmd/metal/main.go:32 +0x1b ``` Signed-off-by: Marques Johansson <[email protected]>
- Loading branch information
Showing
1 changed file
with
93 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters