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

Adapt config format after parsing #6

Merged
merged 2 commits into from
Apr 13, 2021

Conversation

x1ah
Copy link
Contributor

@x1ah x1ah commented Apr 2, 2021

This PR has two main changes:


The workaround of #5 :

After ServiceConfig is parsed, validation and cleanup ExtraConfig, make sure ExtraConfig type is map[string]interface{}(sometimes it's map[interface{}]interface{} if config file is yaml format), detail: go-yaml/yaml#139

@x1ah x1ah changed the title Cleanup config format after parse Adapt config format after parsing Apr 2, 2021
@kpacha kpacha merged commit 1896035 into krakend:master Apr 13, 2021
@x1ah x1ah deleted the fix-yaml-config-parse branch April 14, 2021 02:38
@github-actions
Copy link

github-actions bot commented Apr 7, 2022

This pull request was marked as resolved a long time ago and now has been automatically locked as there has not been any recent activity after it. You can still open a new issue and reference this link.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug in parsing yaml format configuration files
2 participants