Browse Source

Documentation/upgrades: highlight "embed.Config.LogOutputs" change

Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
Gyuho Lee 7 years ago
parent
commit
53c5cd55f7
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Documentation/upgrades/upgrade_3_4.md

+ 2 - 2
Documentation/upgrades/upgrade_3_4.md

@@ -79,14 +79,14 @@ cfg := &embed.Config{Debug: false}
 -cfg.SetupLogging()
 -cfg.SetupLogging()
 ```
 ```
 
 
-Changed [`embed.Config.LogOutput` type from `string` to `[]string`](https://github.com/coreos/etcd/pull/9579) to support multiple log outputs.
+Renamed [**`embed.Config.LogOutput`** to **`embed.Config.LogOutputs`**](https://github.com/coreos/etcd/pull/9624) to support multiple log outputs. And changed [`embed.Config.LogOutput` type from `string` to `[]string`](https://github.com/coreos/etcd/pull/9579) to support multiple log outputs.
 
 
 ```diff
 ```diff
 import "github.com/coreos/etcd/embed"
 import "github.com/coreos/etcd/embed"
 
 
 cfg := &embed.Config{Debug: false}
 cfg := &embed.Config{Debug: false}
 -cfg.LogOutput = "stderr"
 -cfg.LogOutput = "stderr"
-+cfg.LogOutput = []string{"stderr"}
++cfg.LogOutputs = []string{"stderr"}
 ```
 ```
 
 
 #### Change in `etcd --config-file`
 #### Change in `etcd --config-file`