panic during vops token
FalcoSuessgott opened this issue · 0 comments
FalcoSuessgott commented
[ Token ]
reading vops.yaml
[ d-trust-vault-enterprise ]
copying token for cluster d-trust-vault-enterprise
panic: assignment to entry in nil map
goroutine 1 [running]:
github.com/FalcoSuessgott/vops/cmd.tokenCmd.func1(0xc0001f6900, {0x89ba94, 0x0, 0x0})
/home/runner/work/vops/vops/cmd/token.go:29 +0x12c
github.com/spf13/cobra.(*Command).execute(0xc0001f6900, {0xc66930, 0x0, 0x0})
/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:916 +0x842
github.com/spf13/cobra.(*Command).ExecuteC(0xc0001a6f00)
/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:1044 +0x3cd
github.com/spf13/cobra.(*Command).Execute(...)
/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:968
github.com/FalcoSuessgott/vops/cmd.Execute({0x938930, 0xc000159f70})
/home/runner/work/vops/vops/cmd/root.go:77 +0x31
main.main()
/home/runner/work/vops/vops/main.go:13 +0x27