Skip to content
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

IP get panics #61

Closed
gianarb opened this issue Jul 9, 2020 · 0 comments · Fixed by #62
Closed

IP get panics #61

gianarb opened this issue Jul 9, 2020 · 0 comments · Fixed by #62
Labels
bug Something isn't working

Comments

@gianarb
Copy link

gianarb commented Jul 9, 2020

$ packet-cli ip get -p $PACKET_PROJECT_ID
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x28 pc=0x14505ec]

goroutine 1 [running]:
github.com/packethost/packet-cli/cmd.glob..func33(0x194e440, 0xc00000f1e0, 0x0, 0x2)
        /Users/gianarb/git/packet-cli/cmd/retrieve_ip.go:65 +0xa3c
github.com/spf13/cobra.(*Command).execute(0x194e440, 0xc00000f180, 0x2, 0x2, 0x194e440, 0xc00000f180)
        /Users/gianarb/go/pkg/mod/github.com/spf13/[email protected]/command.go:766 +0x29d
github.com/spf13/cobra.(*Command).ExecuteC(0x194fc00, 0xa, 0x0, 0x0)
        /Users/gianarb/go/pkg/mod/github.com/spf13/[email protected]/command.go:852 +0x2ea
github.com/spf13/cobra.(*Command).Execute(...)
        /Users/gianarb/go/pkg/mod/github.com/spf13/[email protected]/command.go:800
github.com/packethost/packet-cli/cmd.NewCli(0x4)
        /Users/gianarb/git/packet-cli/cmd/cli.go:34 +0x157
main.main()
        /Users/gianarb/git/packet-cli/main.go:32 +0x26
@gianarb gianarb added the bug Something isn't working label Jul 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant