Skip to content

Commit 4a39009

Browse files
Add changelog entry
1 parent 943f100 commit 4a39009

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.changelog/1733.changed.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Upgrade the otel collector core and contrib to 0.118.0

pkg/receiver/rawk8seventsreceiver/receiver.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ type rawK8sEventsReceiver struct {
5656
ctx context.Context
5757
cancel context.CancelFunc
5858
startTime time.Time
59-
//lint:ignore SA1019
59+
//lint:ignore SA1019 we need this deprecated client
6060
storage storage.Client
6161
latestResourceVersion uint64
6262

@@ -174,18 +174,18 @@ func (r *rawK8sEventsReceiver) Shutdown(ctx context.Context) error {
174174
return err
175175
}
176176

177-
//lint:ignore SA1019
177+
//lint:ignore SA1019 we need this deprecated client
178178
func (r *rawK8sEventsReceiver) getStorage(ctx context.Context, host component.Host) (storage.Client, error) {
179179
if host == nil {
180180
r.logger.Debug("Storage not initialized: host is not available")
181181
return nil, nil
182182
}
183183

184-
//lint:ignore SA1019
184+
//lint:ignore SA1019 we need this deprecated extension
185185
var storageExtension storage.Extension
186186
var storageExtensionId component.ID
187187
for extentionId, extension := range host.GetExtensions() {
188-
//lint:ignore SA1019
188+
//lint:ignore SA1019 we need this deprecated extension
189189
if se, ok := extension.(storage.Extension); ok {
190190
if storageExtension != nil {
191191
return nil, fmt.Errorf("multiple storage extensions found: '%s', '%s'", storageExtensionId, extentionId)

0 commit comments

Comments
 (0)