Skip to content

Commit

Permalink
Fix linter / check errors
Browse files Browse the repository at this point in the history
  • Loading branch information
RichieSams committed Feb 21, 2024
1 parent 2d75b1f commit a3d08a8
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 6 deletions.
4 changes: 1 addition & 3 deletions internal/exp/metrics/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/open-telemetry/opentelemetry-collector-contrib/internal/exp/metrics

go 1.20
go 1.21

require (
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/pdatautil v0.95.0
Expand Down Expand Up @@ -28,5 +28,3 @@ require (
)

replace github.com/open-telemetry/opentelemetry-collector-contrib/pkg/pdatautil => ../../../pkg/pdatautil

toolchain go1.21.1
4 changes: 4 additions & 0 deletions internal/exp/metrics/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion internal/exp/metrics/staleness/map.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
package staleness
// Copyright The OpenTelemetry Authors
// SPDX-License-Identifier: Apache-2.0

package staleness // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/exp/metrics/staleness"

import (
"time"
Expand Down
2 changes: 1 addition & 1 deletion internal/exp/metrics/staleness/priority_queue.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright The OpenTelemetry Authors
// SPDX-License-Identifier: Apache-2.0

package staleness
package staleness // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/exp/metrics/staleness"

import (
"container/heap"
Expand Down
2 changes: 1 addition & 1 deletion internal/exp/metrics/staleness/staleness.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright The OpenTelemetry Authors
// SPDX-License-Identifier: Apache-2.0

package staleness
package staleness // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/exp/metrics/staleness"

import (
"time"
Expand Down
3 changes: 3 additions & 0 deletions internal/exp/metrics/staleness/staleness_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright The OpenTelemetry Authors
// SPDX-License-Identifier: Apache-2.0

package staleness

import (
Expand Down

0 comments on commit a3d08a8

Please sign in to comment.