consul/lib/decode
Daniel Nephin d2274df53f lib/decode: fix hook to work with embedded squash struct
The decode hook is not call for the embedded squashed struct, so we need to recurse when we
find squash tags.

See https://github.com/mitchellh/mapstructure/issues/226
2021-09-22 13:22:16 -04:00
..
decode.go lib/decode: fix hook to work with embedded squash struct 2021-09-22 13:22:16 -04:00
decode_test.go lib/decode: fix hook to work with embedded squash struct 2021-09-22 13:22:16 -04:00