embed,integration,snapshot: use "LogOutputs"

Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
This commit is contained in:
Gyuho Lee
2018-04-25 13:23:38 -07:00
parent b748abca67
commit 88c70d0ca9
5 changed files with 10 additions and 10 deletions

View File

@ -53,7 +53,7 @@ func TestEmbedEtcd(t *testing.T) {
for i := range tests {
tests[i].cfg = *embed.NewConfig()
tests[i].cfg.Logger = "zap"
tests[i].cfg.LogOutput = []string{"/dev/null"}
tests[i].cfg.LogOutputs = []string{"/dev/null"}
tests[i].cfg.Debug = false
}
@ -180,7 +180,7 @@ func newEmbedURLs(secure bool, n int) (urls []url.URL) {
func setupEmbedCfg(cfg *embed.Config, curls []url.URL, purls []url.URL) {
cfg.Logger = "zap"
cfg.LogOutput = []string{"/dev/null"}
cfg.LogOutputs = []string{"/dev/null"}
cfg.Debug = false
cfg.ClusterState = "new"