You've already forked opentelemetry-go
mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2025-11-29 23:07:45 +02:00
chore: fix function names in comment (#5262)
Signed-off-by: dockercui <dockercui@aliyun.com>
This commit is contained in:
@@ -435,7 +435,7 @@ func loadCertPool(path string) (*x509.CertPool, error) {
|
||||
return cp, nil
|
||||
}
|
||||
|
||||
// loadCertPool loads and returns the tls.Certificate found at path if it
|
||||
// loadCertificates loads and returns the tls.Certificate found at path if it
|
||||
// exists and is valid. Otherwise, nil and an error is returned.
|
||||
func loadCertificates(certPath, keyPath string) ([]tls.Certificate, error) {
|
||||
cert, err := readFile(certPath)
|
||||
|
||||
@@ -166,7 +166,7 @@ type ReaderOption interface {
|
||||
ManualReaderOption
|
||||
}
|
||||
|
||||
// WithProducers registers producers as an external Producer of metric data
|
||||
// WithProducer registers producers as an external Producer of metric data
|
||||
// for this Reader.
|
||||
func WithProducer(p Producer) ReaderOption {
|
||||
return producerOption{p: p}
|
||||
|
||||
Reference in New Issue
Block a user