File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed
Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 11package configs
22
33// VERSITON version of binlogo
4- const VERSITON = "1.0.31 "
4+ const VERSITON = "1.0.32 "
Original file line number Diff line number Diff line change 44 "fmt"
55 "github.com/coreos/etcd/clientv3"
66 "github.com/jin06/binlogo/configs"
7+ "github.com/sirupsen/logrus"
78 "github.com/spf13/viper"
89 "sync"
910 "time"
@@ -38,7 +39,8 @@ func Default() *clientv3.Client {
3839 var err error
3940 client , err = New ()
4041 if err != nil {
41- panic (err )
42+ //panic(err)
43+ logrus .Errorln ("New default etcd client error: " , err )
4244 }
4345 }
4446 return client
Original file line number Diff line number Diff line change @@ -71,6 +71,7 @@ func (r *Register) Run(ctx context.Context) {
7171 }
7272 logrus .Errorln ("Register end: " , r .registerKey )
7373 }()
74+
7475 for {
7576 select {
7677 case <- ctx .Done ():
You can’t perform that action at this time.
0 commit comments