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

Replace usage of useragent.String with useragent.PluginString #29

Merged
merged 3 commits into from
Jan 20, 2023

Conversation

austingebauer
Copy link
Member

Overview

This PR replaces usage of useragent.String with useragent.PluginString. useragent.String has been deprecated. Using useragent.PluginString will allow plugins running external to Vault to use correct Vault version information in construction of user-agent request headers regardless of the compiled SDK version.

Related Issues/Pull Requests

@austingebauer austingebauer requested a review from a team January 3, 2023 01:23
client.go Outdated Show resolved Hide resolved
client.go Outdated Show resolved Hide resolved
@austingebauer austingebauer merged commit 3fc2afc into main Jan 20, 2023
@austingebauer austingebauer deleted the sdk-user-agent branch January 20, 2023 00:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants