mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00

Before this change if the value of a Node was "" it would get dropped from the json encoding and the Node.Value field would be missing. Fix this problem by making NodeExtern.Value a *string so that an empty string will be encoded but a nil value will drop the field.