Skip to content

fix typo

fix typo #4

Triggered via push October 25, 2023 03:41
Status Failure
Total duration 1m 11s
Artifacts

prc.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 5 warnings
typos
Process completed with exit code 2.
build
Process completed with exit code 1.
lint: sdk/remote/configurator.go#L87
SA1019: grpc.WithInsecure is deprecated: use WithTransportCredentials and insecure.NewCredentials() instead. Will be supported throughout 1.x. (staticcheck)
lint: otelzap/writer.go#L24
SA1019: "github.com/golang/protobuf/proto" is deprecated: Use the "google.golang.org/protobuf/proto" package instead. (staticcheck)
lint: otelzap/zap_benchmark_test.go#L25
SA1019: "github.com/golang/protobuf/proto" is deprecated: Use the "google.golang.org/protobuf/proto" package instead. (staticcheck)
lint: sdk/metric/config.go#L107
SA1019: tlsConfig.BuildNameToCertificate has been deprecated since Go 1.14: NameToCertificate only allows associating a single certificate with a given name. Leave that field nil to let the library select the first compatible chain from Certificates. (staticcheck)
lint: sdk/trace/dyeing_sampler.go#L152
SA1019: grpc.WithInsecure is deprecated: use WithTransportCredentials and insecure.NewCredentials() instead. Will be supported throughout 1.x. (staticcheck)
lint
issues found
typos: sdk/trace/noop.go#L24
"Noo" should be "No".
typos: go.mod#L84
"ba" should be "by" or "be".
typos: oteltrpc/traces/filter_test.go#L81
"ba" should be "by" or "be".
typos: oteltrpc/README_cn.md#L19
"Calle" should be "Called" or "Caller".
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/go-opentelementry/go-opentelementry. Supported file pattern: go.sum