open-consul/website/pages/api-docs/connect
Daniel Nephin b9e4544ec3 intentions: fix a bug in Intention.SetHash
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>
2020-06-05 14:51:43 -04:00
..
ca.mdx update dependencies 2020-05-21 14:50:45 -04:00
index.mdx remove 'sidebar_current' from frontmatter 2020-04-28 12:53:24 -04:00
intentions.mdx intentions: fix a bug in Intention.SetHash 2020-06-05 14:51:43 -04:00