Skip to content

Instantly share code, notes, and snippets.

@r7vme
Created December 14, 2017 13:39
Show Gist options
  • Save r7vme/7e3dc0f3bf9fbbdced318e32bbe4f0f1 to your computer and use it in GitHub Desktop.
Save r7vme/7e3dc0f3bf9fbbdced318e32bbe4f0f1 to your computer and use it in GitHub Desktop.
opsctl-linux-amd64|⇒ opsctl ssh centaur master1
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0xefabdc]
goroutine 1 [running]:
github.com/giantswarm/opsctl/service/ssh.(*Service).SSH(0xc4203fce30, 0x7ffe1c73f4f0, 0x7, 0x0, 0x0)
/go/src/github.com/giantswarm/opsctl/service/ssh/service.go:72 +0xfc
github.com/giantswarm/opsctl/command/ssh.(*Command).execute(0xc42022d480, 0x0, 0x0)
/go/src/github.com/giantswarm/opsctl/command/ssh/command.go:211 +0xa65
github.com/giantswarm/opsctl/command/ssh.(*Command).Execute(0xc42022d480, 0xc420426240, 0xc42022d640, 0x2, 0x2)
/go/src/github.com/giantswarm/opsctl/command/ssh/command.go:97 +0xdc
github.com/giantswarm/opsctl/command/ssh.(*Command).Execute-fm(0xc420426240, 0xc42022d640, 0x2, 0x2)
/go/src/github.com/giantswarm/opsctl/command/ssh/command.go:68 +0x52
github.com/giantswarm/opsctl/vendor/github.com/spf13/cobra.(*Command).execute(0xc420426240, 0xc42022d580, 0x2, 0x2, 0xc420426240, 0xc42022d580)
/go/src/github.com/giantswarm/opsctl/vendor/github.com/spf13/cobra/command.go:654 +0x2a2
github.com/giantswarm/opsctl/vendor/github.com/spf13/cobra.(*Command).ExecuteC(0xc420426fc0, 0x6, 0x125f63c, 0x24)
/go/src/github.com/giantswarm/opsctl/vendor/github.com/spf13/cobra/command.go:729 +0x2fe
github.com/giantswarm/opsctl/vendor/github.com/spf13/cobra.(*Command).Execute(0xc420426fc0, 0xc4203fc350, 0x126dc00)
/go/src/github.com/giantswarm/opsctl/vendor/github.com/spf13/cobra/command.go:688 +0x2b
main.main()
/go/src/github.com/giantswarm/opsctl/main.go:50 +0x1a8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment