Refactor code

This commit is contained in:
wenxu12345 2022-02-11 19:06:48 +08:00
parent 3103c33dda
commit 18babef78b

View File

@ -72,7 +72,7 @@ func RegisterEtcd(schema, etcdAddr, myHost string, myPort int, serviceName strin
select {
case v, ok := <-kresp:
if ok == true {
fmt.Println(" kresp ok ", v)
// fmt.Println(" kresp ok ", v)
} else {
fmt.Println(" kresp failed ", v)
}