Skip to content

Commit

Permalink
lint (#8756)
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Boten <[email protected]>
  • Loading branch information
Alex Boten authored Oct 25, 2023
1 parent ad0e5d1 commit 0d3d751
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/builder/internal/builder/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ func (c *Config) Validate() error {
func (c *Config) SetGoPath() error {
if !c.SkipCompilation || !c.SkipGetModules {
// #nosec G204
if _, err := exec.Command(c.Distribution.Go, "env").CombinedOutput(); err != nil {
if _, err := exec.Command(c.Distribution.Go, "env").CombinedOutput(); err != nil { // nolint G204
path, err := exec.LookPath("go")
if err != nil {
return ErrGoNotFound
Expand Down
2 changes: 1 addition & 1 deletion exporter/otlpexporter/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ replace go.opentelemetry.io/collector/connector => ../../connector
replace go.opentelemetry.io/collector/config/configtelemetry => ../../config/configtelemetry

// ambiguous import: found package cloud.google.com/go/compute/metadata in multiple modules
replace cloud.google.com/go => cloud.google.com/go v0.110.2
replace cloud.google.com/go => cloud.google.com/go v0.110.9

replace go.opentelemetry.io/collector/config/confighttp => ../../config/confighttp

Expand Down

0 comments on commit 0d3d751

Please sign in to comment.