Skip to content

Commit

Permalink
fix conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
mattdurham committed Jan 9, 2025
1 parent 8a3776f commit ea52edb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/component/prometheus/write/queue/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ func (cc EndpointConfig) ToNativeType() types.ConnectionConfig {
if cc.TLSConfig != nil {
tcc.InsecureSkipVerify = cc.TLSConfig.InsecureSkipVerify
tcc.TLSCert = cc.TLSConfig.Cert
tcc.TLSKey = cc.TLSConfig.Cert
tcc.TLSKey = string(cc.TLSConfig.Key)
tcc.TLSCACert = cc.TLSConfig.CA
}
return tcc
Expand Down

0 comments on commit ea52edb

Please sign in to comment.