We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c23de44 commit 229b646Copy full SHA for 229b646
1 file changed
cmd/root.go
@@ -50,16 +50,16 @@ var (
50
cmdSpan trace.Span
51
)
52
53
-func enabledTelemetry() bool {
54
- value, exists := os.LookupEnv("OTEL_EXPORTER_OTLP_ENDPOINT")
55
- if !exists {
56
- return false
57
- }
58
- if value != "" {
59
- return true
60
61
62
-}
+//func enabledTelemetry() bool {
+// value, exists := os.LookupEnv("OTEL_EXPORTER_OTLP_ENDPOINT")
+// if !exists {
+// return false
+// }
+// if value != "" {
+// return true
+//}
63
64
// RootCmd creates and returns root cmd for elastic-package
65
func RootCmd() *cobra.Command {
0 commit comments