Skip to content

Commit 229b646

Browse files
committed
Comment out function
1 parent c23de44 commit 229b646

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

cmd/root.go

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -50,16 +50,16 @@ var (
5050
cmdSpan trace.Span
5151
)
5252

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-
return false
62-
}
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+
// return false
62+
//}
6363

6464
// RootCmd creates and returns root cmd for elastic-package
6565
func RootCmd() *cobra.Command {

0 commit comments

Comments
 (0)