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

Telemetry with segment - seems to not be honor skip telemetry flag #575

Closed
6za opened this issue Oct 18, 2022 · 1 comment
Closed

Telemetry with segment - seems to not be honor skip telemetry flag #575

6za opened this issue Oct 18, 2022 · 1 comment

Comments

@6za
Copy link
Contributor

6za commented Oct 18, 2022

./kubefirst init --admin-email email@kubeshop.io --cloud k3d --github-user user --github-org org --use-telemetry false
Result:

2022/10/18 11:09:27 kubefirst started
Logging at: /app/logs/log_1666091367.log
LOG: 2022/10/18 11:09:27.892846 /app/pkg/helpers.go:270: Using config file: /Users/6zacode/_tmp_k3d_user/.kubefirst
-----------


  ----------------------------------------------------------------------
  Info summary:
  ----------------------------------------------------------------------

  Operational System: linux
  Architecture: amd64
  Go Lang version: vgo1.18.7
  Kubefirst config file: /Users/6zacode/_tmp_k3d_user/.kubefirst
  Kubefirst config folder: /Users/6zacode/_tmp_k3d_user/.k1
  Kubectl path: /Users/6zacode/_tmp_k3d_user/.k1/tools/kubectl
  Terraform path: /Users/6zacode/_tmp_k3d_user/.k1/tools/terraform
  Kubeconfig path:
  /Users/6zacode/_tmp_k3d_user/.k1/gitops/terraform/base/kubeconfig
  Kubefirst Version: 1.9.8



Init actions: 4 expected tasks ...

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x181831d]

goroutine 1 [running]:
github.com/kubefirst/kubefirst/internal/handlers.TelemetryHandler.SendCountMetric(...)
	/app/internal/handlers/telemetry.go:24
github.com/kubefirst/kubefirst/cmd.glob..func26(0x2be5d00?, {0xc00047aa00?, 0xa?, 0xa?})
	/app/cmd/init.go:101 +0x7bd
github.com/spf13/cobra.(*Command).execute(0x2be5d00, {0xc00047a8c0, 0xa, 0xa})
	/go/pkg/mod/github.com/spf13/cobra@v1.4.0/command.go:856 +0x67c
github.com/spf13/cobra.(*Command).ExecuteC(0x2be7600)
	/go/pkg/mod/github.com/spf13/cobra@v1.4.0/command.go:974 +0x3b4
github.com/spf13/cobra.(*Command).Execute(...)
	/go/pkg/mod/github.com/spf13/cobra@v1.4.0/command.go:902
github.com/kubefirst/kubefirst/cmd.Execute()
	/app/cmd/root.go:32 +0x25
main.main()
	/app/main.go:66 +0x41d
@converge
Copy link
Contributor

fixed at #574

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants