open-consul/snapshot
R.B. Boyer b4325dfbce
agent: ensure that we always use the same settings for msgpack (#7245)
We set RawToString=true so that []uint8 => string when decoding an interface{}.
We set the MapType so that map[interface{}]interface{} decodes to map[string]interface{}.

Add tests to ensure that this doesn't break existing usages.

Fixes #7223
2020-02-07 15:50:24 -06:00
..
archive.go snapshot: read meta.json correctly. (#5193) 2019-01-08 17:06:28 +01:00
archive_test.go snapshot: read meta.json correctly. (#5193) 2019-01-08 17:06:28 +01:00
snapshot.go Allow users to configure either unstructured or JSON logging (#7130) 2020-01-28 17:50:41 -06:00
snapshot_test.go agent: ensure that we always use the same settings for msgpack (#7245) 2020-02-07 15:50:24 -06:00