Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UpdateStsToken is deprecated: use CredentialsProvider and UpdateFuncProviderAdapter instead #26987

Closed
codeboten opened this issue Sep 18, 2023 · 3 comments
Labels
dependencies Pull requests that update a dependency file exporter/alibabacloudlogservice Alibaba components

Comments

@codeboten
Copy link
Contributor

Component(s)

exporter/alibabacloudlogservice

Describe the issue you're reporting

The following error occurred when deps were updated:

alibabacloudlogserviceexporter/uploader.go:56:3: SA1019: producerConfig.UpdateStsToken is deprecated: use CredentialsProvider and UpdateFuncProviderAdapter instead. (staticcheck)
                producerConfig.UpdateStsToken = tokenUpdateFunc
                ^
@codeboten codeboten added the dependencies Pull requests that update a dependency file label Sep 18, 2023
@github-actions github-actions bot added the exporter/alibabacloudlogservice Alibaba components label Sep 18, 2023
@github-actions
Copy link
Contributor

Pinging code owners:

See Adding Labels via Comments if you do not have permissions to add labels yourself.

@songy23
Copy link
Member

songy23 commented Sep 18, 2023

Dup of #26456, will be fixed in #26510.

@songy23 songy23 closed this as completed Sep 18, 2023
@codeboten
Copy link
Contributor Author

thanks @songy23!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file exporter/alibabacloudlogservice Alibaba components
Projects
None yet
Development

No branches or pull requests

2 participants