chore: replace github.com/mitchellh/mapstructure with github.com/go-viper/mapstructure/v2#771
chore: replace github.com/mitchellh/mapstructure with github.com/go-viper/mapstructure/v2#771hazzik wants to merge 1 commit intohashicorp:masterfrom
Conversation
…iper/mapstructure/v2
ghost
left a comment
There was a problem hiding this comment.
Thanks for raising the PR but not exactly sure why we need this change. Were you getting blocked on anything due to the original dependency ?
|
Not blocked. Just do not like having outdated dependencies. Original dependency was deprecated by the owner, and the new one is a "blessed fork" that will be supported by viper team. And serf seems to be a low level dependency in quite a lot of packages that we use. So my motivation was to have the train moved in that direction. |
|
|
||
| require ( | ||
| github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e | ||
| github.com/go-viper/mapstructure/v2 v2.2.1 |
There was a problem hiding this comment.
This can probably updated to v2.4.0 now; https://github.com/go-viper/mapstructure/releases/tag/v2.4.0
|
cc @rmainwork are you a maintainer for this repo? Was curious as well if this project would update to the maintained / blessed fork (I'm trying to prevent dependency sprawl in my projects) |
|
This PR is necessary to resolve a vulnerability in the OTel Prometheus receiver. |
No description provided.