Skip to content

Commit 2daa445

Browse files
committed
Update etcd to 3.4.15, update aws-tags discovery to use describe-instances api, make verbose flag work for run
1 parent c6c455f commit 2daa445

File tree

5 files changed

+23
-71
lines changed

5 files changed

+23
-71
lines changed

cmd/e2d/app/run.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ package app
33
import (
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)

go.mod

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff 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
)

0 commit comments

Comments
 (0)