Skip to content

Commit 1379a85

Browse files
committed
fix logging
1 parent e21c1df commit 1379a85

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cmd/cmd_run.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ func closeMonitor(ctx context.Context) {
113113
}
114114

115115
func run(configPath string) error {
116-
log.Info("build info: version=%s, commit=%s", version, commit)
116+
log.Info("build info: version , commit ", version, commit)
117117
osSignals := make(chan os.Signal, 1)
118118
signal.Notify(osSignals, os.Interrupt, syscall.SIGTERM, syscall.SIGHUP)
119119
defer signal.Stop(osSignals)

otel/otel.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ func InitGlobalMeterProvider(opts *Opts) (func(), error) {
5959

6060
// If endpoint doesn't use port 443, assume insecure (HTTP not HTTPS)
6161
if !strings.Contains(opts.Endpoint, ":443") {
62-
log.Debug("Using insecure connection for OTEL metrics endpoint %v", opts.Endpoint)
62+
log.Debug("Using insecure connection for OTEL metrics endpoint ", opts.Endpoint)
6363
metricOpts = append(metricOpts, otlpmetrichttp.WithInsecure())
6464
}
6565

0 commit comments

Comments
 (0)