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

Trim license token #116

Merged
merged 1 commit into from
Jun 13, 2024
Merged

Trim license token #116

merged 1 commit into from
Jun 13, 2024

Conversation

anjalshireesh
Copy link
Contributor

When license token is read from the license file, it can contain a newline at the end. If we try to set the same license in subnet config along with api_key, it fails with error:

unknown sub-system api_key

as the api_key part moves to next line. Removing whitespace from the license token fixes this.

When license token is read from the license file, it can contain a
newline at the end. If we try to set the same license in subnet config
along with api_key, it fails with error:

`unknown sub-system  api_key`

as the api_key part moves to next line. Removing whitespace from the
license token fixes this.
@anjalshireesh anjalshireesh marked this pull request as ready for review June 13, 2024 07:58
@harshavardhana harshavardhana merged commit e6dd9f8 into minio:main Jun 13, 2024
3 checks passed
@anjalshireesh anjalshireesh deleted the license branch June 13, 2024 08:56
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.

2 participants