Skip to content

Commit

Permalink
remove stack log when etcdutl restore
Browse files Browse the repository at this point in the history
Signed-off-by: kkkkun <[email protected]>
  • Loading branch information
kkkkun committed Jun 13, 2023
1 parent ffcde60 commit 620a623
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions etcdutl/snapshot/v3_snapshot.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import (
"go.etcd.io/etcd/api/v3/etcdserverpb"
"go.etcd.io/etcd/client/pkg/v3/fileutil"
"go.etcd.io/etcd/client/pkg/v3/types"
"go.etcd.io/etcd/client/v3"
clientv3 "go.etcd.io/etcd/client/v3"
"go.etcd.io/etcd/client/v3/snapshot"
"go.etcd.io/etcd/raft/v3"
"go.etcd.io/etcd/raft/v3/raftpb"
Expand Down Expand Up @@ -251,7 +251,6 @@ func (s *v3Manager) Restore(cfg RestoreConfig) error {
zap.String("wal-dir", s.walDir),
zap.String("data-dir", dataDir),
zap.String("snap-dir", s.snapDir),
zap.Stack("stack"),
)

if err = s.saveDB(); err != nil {
Expand Down

0 comments on commit 620a623

Please sign in to comment.