Skip to content

fix config yaml resolver#148

Merged
florindragos merged 1 commit intomainfrom
fix_config
Mar 13, 2025
Merged

fix config yaml resolver#148
florindragos merged 1 commit intomainfrom
fix_config

Conversation

@florindragos
Copy link
Copy Markdown
Contributor

@florindragos florindragos commented Mar 13, 2025

It looks like the yaml.v3 decoder has a different behavior than v2.. it can decode into map[string]interface{} or map[interface{}]interface{} but the inner values are always map[string]interface{} (vs map[interface{}]interface{} in v2), so config[y.yamlKey].(map[interface{}]interface{}) is failing. using map[string]interface{} everywhere fixes the issues.

@florindragos florindragos merged commit eb1a3f8 into main Mar 13, 2025
14 checks passed
@florindragos florindragos deleted the fix_config branch March 13, 2025 11:33
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.

3 participants