Skip to content

Commit

Permalink
INFOPLAT-1562 Removes AuthHeaderProvider from loop config
Browse files Browse the repository at this point in the history
this config is passed as an environment variables when the loop is spawned, and therefore only static values can be passed
  • Loading branch information
hendoxc committed Jan 8, 2025
1 parent 0190cd3 commit f196c1a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions pkg/loop/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import (
"time"

"github.com/hashicorp/go-plugin"
"github.com/smartcontractkit/chainlink-common/pkg/beholder"
)

const (
Expand Down Expand Up @@ -58,7 +57,6 @@ type EnvConfig struct {
TelemetryTraceSampleRatio float64
TelemetryAuthHeaders map[string]string
TelemetryAuthPubKeyHex string
TelemetryAuthHeaderProvider beholder.AuthHeaderProvider
TelemetryEmitterBatchProcessor bool
TelemetryEmitterExportTimeout time.Duration
TelemetryEmitterExportInterval time.Duration
Expand Down
1 change: 0 additions & 1 deletion pkg/loop/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ func (s *Server) start() error {
TraceSampleRatio: envCfg.TelemetryTraceSampleRatio,
AuthHeaders: envCfg.TelemetryAuthHeaders,
AuthPublicKeyHex: envCfg.TelemetryAuthPubKeyHex,
AuthHeaderProvider: envCfg.TelemetryAuthHeaderProvider,
EmitterBatchProcessor: envCfg.TelemetryEmitterBatchProcessor,
EmitterExportTimeout: envCfg.TelemetryEmitterExportTimeout,
EmitterExportInterval: envCfg.TelemetryEmitterExportInterval,
Expand Down

0 comments on commit f196c1a

Please sign in to comment.