File: disable_jaeger

package info (click to toggle)
cfrpki 1.4.2-1~deb11u1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,952 kB
  • sloc: makefile: 73; sh: 34
file content (29 lines) | stat: -rw-r--r-- 627 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
--- a/cmd/octorpki/octorpki.go
+++ b/cmd/octorpki/octorpki.go
@@ -40,7 +40,9 @@ import (
 
 	"github.com/getsentry/sentry-go"
 	"github.com/opentracing/opentracing-go"
+	/*
 	jcfg "github.com/uber/jaeger-client-go/config"
+	*/
 )
 
 var (
@@ -1176,6 +1178,8 @@ func main() {
 	log.Info("Validator started")
 
 	if *Tracer {
+		log.Fatalf("jaeger is not supported by the Debian package!")
+		/*
 		cfg, err := jcfg.FromEnv()
 		if err != nil {
 			log.Fatal(err)
@@ -1186,6 +1190,7 @@ func main() {
 		}
 		defer closer.Close()
 		opentracing.SetGlobalTracer(tracer)
+		*/
 	}
 
 	mainRefresh, _ := time.ParseDuration(*Refresh)