nox icon indicating copy to clipboard operation
nox copied to clipboard

Error attempting 'nox kibana' in tugboat

Open awseward opened this issue 5 years ago • 0 comments

Tried running nox kibana in tugboat, having gone into the Elasticsearch stateful set for a deployment, and got this:

root@pz01-procore-elasticsearch-0:/usr/share/elasticsearch# nox kibana
panic: runtime error: slice bounds out of range

goroutine 1 [running]:
main.glob..func41(0x116a580, 0x119d8f8, 0x0, 0x0)
        /home/circleci/nox/cmd/nox/kibana.go:68 +0x164
github.com/spf13/cobra.(*Command).execute(0x116a580, 0x119d8f8, 0x0, 0x0, 0x116a580, 0x119d8f8)
        /go/pkg/mod/github.com/spf13/[email protected]/command.go:766 +0x2ae
github.com/spf13/cobra.(*Command).ExecuteC(0x116aa40, 0xb1b120, 0x5, 0xb1759f)
        /go/pkg/mod/github.com/spf13/[email protected]/command.go:852 +0x2ec
github.com/spf13/cobra.(*Command).Execute(...)
        /go/pkg/mod/github.com/spf13/[email protected]/command.go:800
main.Execute()
        /home/circleci/nox/cmd/nox/root.go:31 +0x32
main.main()
        /home/circleci/nox/cmd/nox/main.go:4 +0x20

Not terribly experienced in go, so I'm not sure exactly where to start on this, but happy to help out!

awseward avatar Jan 22 '20 21:01 awseward