mirror of https://github.com/status-im/consul.git
ce6cc094a1
Found using staticcheck. binary.Write does not accept int types without a size. The error from binary.Write was ignored, so we never saw this error. Casting the data to uint64 produces a correct hash. Also deprecate the Default{Addr,Port} fields, and prevent them from being encoded. These fields will always be empty and are not used. Removing these would break backwards compatibility, so they are left in place for now. Co-authored-by: Hans Hasselberg <me@hans.io> |
||
---|---|---|
.. | ||
acl | ||
agent | ||
connect | ||
features | ||
operator | ||
acl-legacy.mdx | ||
catalog.mdx | ||
config.mdx | ||
coordinate.mdx | ||
discovery-chain.mdx | ||
event.mdx | ||
health.mdx | ||
index.mdx | ||
kv.mdx | ||
libraries-and-sdks.mdx | ||
namespaces.mdx | ||
query.mdx | ||
session.mdx | ||
snapshot.mdx | ||
status.mdx | ||
txn.mdx |