Skip to content

Commit

Permalink
Documentation/upgrades: highlight client Node.Expiration field change
Browse files Browse the repository at this point in the history
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
  • Loading branch information
gyuho committed Mar 27, 2018
1 parent d032d83 commit e7f39d9
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion Documentation/upgrades/upgrade_3_4.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand All @@ -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
Expand Down

0 comments on commit e7f39d9

Please sign in to comment.