Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Panic on drago interface update #74

Open
0x1a8510f2 opened this issue Aug 17, 2021 · 0 comments
Open

Panic on drago interface update #74

0x1a8510f2 opened this issue Aug 17, 2021 · 0 comments
Labels
bug Something isn't working critical Critical features, improvements, or bug fixes

Comments

@0x1a8510f2
Copy link

Describe the bug
When running drago interface update:

interface update flag redefined: address

================================================================================
Drago has encountered a fatal error. This is a bug!
We would appreciate a report: https://github.com/seashell/drago/issues/
Please provide all of the below text in your report.
================================================================================
Drago Version:       dev
Go Version:          go1.16.5
Go Compiler:         gc
Architecture:        amd64
Operating System:    linux
Panic:               interface update flag redefined: address

goroutine 1 [running]:
runtime/debug.Stack(0xc0004299b8, 0x10a3de0, 0xc0003242e0)
        /opt/hostedtoolcache/go/1.16.5/x64/src/runtime/debug/stack.go:24 +0x9f
main.panicHandler()
        /home/runner/work/drago/drago/main.go:30 +0x76
panic(0x10a3de0, 0xc0003242e0)
        /opt/hostedtoolcache/go/1.16.5/x64/src/runtime/panic.go:965 +0x1b9
github.com/spf13/pflag.(*FlagSet).AddFlag(0xc0001ae000, 0xc000304500)
        /home/runner/go/pkg/mod/github.com/spf13/pflag@v1.0.5/flag.go:848 +0x825
github.com/spf13/pflag.(*FlagSet).VarPF(0xc0001ae000, 0x228f400, 0xc00013a1c0, 0x126e29a, 0x7, 0x0, 0x0, 0x0, 0x0, 0xc000324270)
        /home/runner/go/pkg/mod/github.com/spf13/pflag@v1.0.5/flag.go:831 +0x10b
github.com/spf13/pflag.(*FlagSet).VarP(...)
        /home/runner/go/pkg/mod/github.com/spf13/pflag@v1.0.5/flag.go:837
github.com/spf13/pflag.(*FlagSet).StringVar(0xc0001ae000, 0xc00013a1c0, 0x126e29a, 0x7, 0x0, 0x0, 0x0, 0x0)
        /home/runner/go/pkg/mod/github.com/spf13/pflag@v1.0.5/string.go:37 +0x9b
github.com/seashell/drago/command.(*InterfaceUpdateCommand).FlagSet(0xc00013a190, 0xc000429e00)
        /home/runner/work/drago/drago/command/interface_update.go:32 +0xdd
github.com/seashell/drago/command.(*InterfaceUpdateCommand).Run(0xc00013a190, 0x2296490, 0xc0001227c0, 0xc00003a190, 0x0, 0x0, 0x72f129)
        /home/runner/work/drago/drago/command/interface_update.go:51 +0x2f
github.com/seashell/drago/pkg/cli.(*CLI).Run(0xc000117680, 0x2296490, 0xc0001227c0, 0xc00003a190, 0x2, 0x2, 0xc000052060, 0x70, 0x10000c00004e138)
        /home/runner/work/drago/drago/pkg/cli/cli.go:134 +0x165
main.run(0xc00003a190, 0x2, 0x2, 0x0)
        /home/runner/work/drago/drago/main.go:74 +0x195
main.main()
        /home/runner/work/drago/drago/main.go:53 +0x65

Desktop (please complete the following information):

  • OS: openSUSE Tumbleweed
@edufschmidt edufschmidt added bug Something isn't working critical Critical features, improvements, or bug fixes labels Aug 19, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working critical Critical features, improvements, or bug fixes
Projects
None yet
Development

No branches or pull requests

2 participants