api: make any serialization stable (#6241)
Using proto.MarshalAny results in unstable output due to non-deterministic map ordering. This in turn causes Envoy's diff to reload a config since the hash of the structure changes. Enable stable marshaler for gogoproto to avoid this problem. See #6252 Risk Level: low Testing: n/a Signed-off-by: Kuat Yessenov <kuat@google.com> Mirrored from https://github.com/envoyproxy/envoy @ 15a19b9cb1cc8bd5a5ec71d125177b3f6c9a3cf5pull/620/head
parent
f4bc9d841c
commit
4f4ee118c5
12 changed files with 23 additions and 0 deletions
Loading…
Reference in new issue