open-nomad/client/structs
Mahmood Ali 938e916d9c When serializing msgpack, only consider codec tag
When serializing structs with msgpack, only consider type tags of
`codec`.

Hashicorp/go-msgpack (based on ugorji/go) defaults to interpretting
`codec` tag if it's available, but falls to using `json` if `codec`
isn't present.

This behavior is surprising in cases where we want to serialize json
differently from msgpack, e.g. serializing `ConsulExposeConfig`.
2020-05-11 14:14:10 -04:00
..
allochook.go allocrunner: Push state from hooks to taskrunners 2020-03-23 13:58:30 -04:00
broadcaster.go client: comment on importance of chan ops ordering 2018-11-27 14:11:32 -08:00
broadcaster_test.go fix mispelings 2018-11-27 16:33:55 -08:00
csi.go csi: fix unpublish workflow ID mismatches 2020-04-06 10:15:55 -04:00
structs.go When serializing msgpack, only consider codec tag 2020-05-11 14:14:10 -04:00