Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants