From 74648bd6b03107f37074bf3304aa4e9ecc425145 Mon Sep 17 00:00:00 2001 From: Gyuho Lee Date: Tue, 27 Mar 2018 09:50:07 -0700 Subject: [PATCH] Documentation/upgrades: highlight client Node.Expiration field change Signed-off-by: Gyuho Lee --- Documentation/upgrades/upgrade_3_4.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/Documentation/upgrades/upgrade_3_4.md b/Documentation/upgrades/upgrade_3_4.md index 3c0c2ffb3ba9..d24f03d50e9f 100644 --- a/Documentation/upgrades/upgrade_3_4.md +++ b/Documentation/upgrades/upgrade_3_4.md @@ -26,7 +26,7 @@ Highlighted breaking changes in 3.4. +etcd --peer-trusted-ca-file ca-peer.crt ``` -#### Change in ``pkg/transport` +#### Change in `pkg/transport` Deprecated `pkg/transport.TLSInfo.CAFile` field. @@ -45,6 +45,17 @@ if err != nil { } ``` +#### Change in `client/Node.Expiration` field + +changed [**`client.Node.Expiration` type from `*time.Time` to `time.Time`**](https://github.com/coreos/etcd/pull/9494) with [regenerated v2 `client`](https://github.com/coreos/etcd/pull/9494), to [include 32-bit fixes](https://github.com/coreos/etcd/issues/9447). + +```diff +type Node struct { + ... +- Expiration *time.Time `json:"expiration,omitempty"` ++ Expiration time.Time `json:"expiration,omitempty"` +``` + ### Server upgrade checklists #### Upgrade requirements