Skip to content

Commit

Permalink
[chore] remove redundant size value (open-telemetry#32579)
Browse files Browse the repository at this point in the history
Remove an IDE warning that this is a redundant size setting.
  • Loading branch information
atoulme committed Apr 23, 2024
1 parent 8297003 commit 9ae6523
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions receiver/kubeletstatsreceiver/internal/kubelet/metadata.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ func NewMetadata(labels []MetadataLabel, podsMetadata *v1.PodList,
Labels: getLabelsMap(labels),
PodsMetadata: podsMetadata,
DetailedPVCResourceSetter: detailedPVCResourceSetter,
podResources: make(map[string]resources, 0),
containerResources: make(map[string]resources, 0),
podResources: make(map[string]resources),
containerResources: make(map[string]resources),
}

if podsMetadata != nil {
Expand Down

0 comments on commit 9ae6523

Please sign in to comment.