Skip to content

Commit

Permalink
skip linting for deprecated method
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Boten <[email protected]>
  • Loading branch information
Alex Boten committed Sep 18, 2023
1 parent 85e75cd commit 0a2dd66
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions exporter/alibabacloudlogserviceexporter/uploader.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ func newLogServiceClient(config *Config, logger *zap.Logger) (logServiceClient,
producerConfig.AccessKeySecret = string(config.AccessKeySecret)
if config.ECSRamRole != "" || config.TokenFilePath != "" {
tokenUpdateFunc, _ := slsutil.NewTokenUpdateFunc(config.ECSRamRole, config.TokenFilePath)
// https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/26987
// nolint
producerConfig.UpdateStsToken = tokenUpdateFunc
producerConfig.StsTokenShutDown = make(chan struct{})
}
Expand Down

0 comments on commit 0a2dd66

Please sign in to comment.