Skip to content

Commit 09e6f96

Browse files
committed
1.0.32
1 parent 4d077bc commit 09e6f96

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

configs/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
package configs
22

33
// VERSITON version of binlogo
4-
const VERSITON = "1.0.31"
4+
const VERSITON = "1.0.32"

pkg/etcdclient/client.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import (
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

pkg/register/register.go

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

0 commit comments

Comments
 (0)