From 9dc8c7cd190bbbff80a10103378d1ee81a8d4654 Mon Sep 17 00:00:00 2001 From: Patrik Date: Wed, 6 Jul 2022 11:28:07 +0200 Subject: [PATCH] fix: enable telemetry by default --- cmd/server/serve.go | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/cmd/server/serve.go b/cmd/server/serve.go index 5e2ad369d..4871bd0ae 100644 --- a/cmd/server/serve.go +++ b/cmd/server/serve.go @@ -15,9 +15,6 @@ package server import ( - "os" - "strconv" - "github.com/spf13/cobra" "github.com/ory/keto/cmd/helpers" @@ -46,17 +43,8 @@ on configuration options, open the configuration documentation: return reg.ServeAllSQA(cmd) }, } - disableTelemetry, err := strconv.ParseBool(os.Getenv("DISABLE_TELEMETRY")) - if err != nil { - disableTelemetry = true - } - sqaOptOut, err := strconv.ParseBool(os.Getenv("SQA_OPT_OUT")) - if err != nil { - sqaOptOut = true - } - cmd.Flags().Bool("disable-telemetry", disableTelemetry, "Disable anonymized telemetry reports - for more information please visit https://www.ory.sh/docs/ecosystem/sqa") - cmd.Flags().Bool("sqa-opt-out", sqaOptOut, "Disable anonymized telemetry reports - for more information please visit https://www.ory.sh/docs/ecosystem/sqa") + cmd.Flags().Bool("sqa-opt-out", false, "Disable anonymized telemetry reports - for more information please visit https://www.ory.sh/docs/ecosystem/sqa") return cmd }