Skip to content

Commit

Permalink
[chore] fix exhaustive lint for kubeletstatsreceiver (open-telemetry#…
Browse files Browse the repository at this point in the history
…23815)

**Description:** <Describe what has changed.>
related open-telemetry#23266

---------

Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com>
  • Loading branch information
fatsheep9146 authored Jun 28, 2023
1 parent 8772353 commit 0ab552c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,6 @@ issues:
- path: googlecloudspannerreceiver
linters:
- exhaustive
- path: kubeletstatsreceiver
linters:
- exhaustive
- path: podmanreceiver
linters:
- exhaustive
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,10 @@ func requireMetricOk(t *testing.T, m pmetric.Metric) {
require.Less(t, dp.StartTimestamp(), dp.Timestamp())
requirePointOk(t, dp)
}
case pmetric.MetricTypeEmpty:
case pmetric.MetricTypeHistogram:
case pmetric.MetricTypeExponentialHistogram:
case pmetric.MetricTypeSummary:
}
}

Expand Down

0 comments on commit 0ab552c

Please sign in to comment.