File tree Expand file tree Collapse file tree 5 files changed +23
-71
lines changed
Expand file tree Collapse file tree 5 files changed +23
-71
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ package app
33import (
44 "context"
55 "fmt"
6+ "go.uber.org/zap/zapcore"
67 "strings"
78 "time"
89
@@ -61,6 +62,9 @@ func newRunCmd() *cobra.Command {
6162 Use : "run" ,
6263 Short : "start a managed etcd instance" ,
6364 Run : func (cmd * cobra.Command , args []string ) {
65+ if globalOptions .verbose {
66+ log .SetLevel (zapcore .DebugLevel )
67+ }
6468 peerGetter , err := getPeerGetter (o )
6569 if err != nil {
6670 log .Fatalf ("%+v" , err )
Original file line number Diff line number Diff line change @@ -15,9 +15,8 @@ require (
1515 github.com/pkg/errors v0.9.1
1616 github.com/spf13/cobra v1.0.0
1717 go.etcd.io/bbolt v1.3.5
18- go.etcd.io/etcd v0.5.0-alpha.5.0.20200707173218-d3a702a09d92
18+ go.etcd.io/etcd v0.5.0-alpha.5.0.20210226220824-aa7126864d82
1919 go.uber.org/zap v1.15.0
2020 golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d
21- golang.org/x/text v0.3.3 // indirect
2221 google.golang.org/grpc v1.29.1
2322)
You can’t perform that action at this time.
0 commit comments