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

fix(contrib/config/polaris): it only supports json format for configuration contents, add more content formats support #4126

Merged
merged 1 commit into from
Jan 22, 2025

Conversation

stardemo
Copy link
Contributor

polaris conf update use gjson.LoadContent not gjson.DecodeToJson to support multiple format conf content.

Fixs #4104 4104

@gqcn
Copy link
Member

gqcn commented Jan 22, 2025

@stardemo Awesome fix! Would you please add associated unit testing case for this update?

@gqcn gqcn changed the title fix: polaris conf only support json fix(contrib/config/polaris): add extra configuration file formats support including json Jan 22, 2025
@gqcn gqcn changed the title fix(contrib/config/polaris): add extra configuration file formats support including json fix(contrib/config/polaris): it only supports json format for configuration contents, add more content formats support Jan 22, 2025
@gqcn gqcn added the #👍 label Jan 22, 2025
@stardemo
Copy link
Contributor Author

this unit testing may difficult to create,but this change work fine in my local environment.

@gqcn gqcn merged commit 1f88452 into gogf:master Jan 22, 2025
17 checks passed
@stardemo stardemo deleted the fix/polaris-conf-format branch January 24, 2025 07:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants