Skip to content
Snippets Groups Projects
Commit f269e624 authored by fangyincheng's avatar fangyincheng
Browse files

fix bug

parent a347a049
No related branches found
No related tags found
No related merge requests found
...@@ -96,7 +96,6 @@ func (c *DefaultHealthChecker) getCircuitBreakerSleepWindowTime(status *protocol ...@@ -96,7 +96,6 @@ func (c *DefaultHealthChecker) getCircuitBreakerSleepWindowTime(status *protocol
return int64(sleepWindow) return int64(sleepWindow)
} }
// GetRequestSuccessiveFailureThreshold return the requestSuccessiveFailureThreshold bound to this DefaultHealthChecker // GetRequestSuccessiveFailureThreshold return the requestSuccessiveFailureThreshold bound to this DefaultHealthChecker
func (c *DefaultHealthChecker) GetRequestSuccessiveFailureThreshold() int32 { func (c *DefaultHealthChecker) GetRequestSuccessiveFailureThreshold() int32 {
return c.requestSuccessiveFailureThreshold return c.requestSuccessiveFailureThreshold
......
...@@ -37,8 +37,6 @@ import ( ...@@ -37,8 +37,6 @@ import (
"github.com/apache/dubbo-go/common/logger" "github.com/apache/dubbo-go/common/logger"
) )
type Object interface{}
type HessianSerializer struct { type HessianSerializer struct {
} }
...@@ -474,7 +472,7 @@ func getArgType(v interface{}) string { ...@@ -474,7 +472,7 @@ func getArgType(v interface{}) string {
return "java.lang.String" return "java.lang.String"
case []string: case []string:
return "[Ljava.lang.String;" return "[Ljava.lang.String;"
case []Object: case []hessian.Object:
return "[Ljava.lang.Object;" return "[Ljava.lang.Object;"
case map[interface{}]interface{}: case map[interface{}]interface{}:
// return "java.util.HashMap" // return "java.util.HashMap"
......
...@@ -212,7 +212,7 @@ func (r *zkRegistry) registerTempZookeeperNode(root string, node string) error { ...@@ -212,7 +212,7 @@ func (r *zkRegistry) registerTempZookeeperNode(root string, node string) error {
r.cltLock.Lock() r.cltLock.Lock()
defer r.cltLock.Unlock() defer r.cltLock.Unlock()
if r.client == nil{ if r.client == nil {
return perrors.WithStack(perrors.New("zk client already been closed")) return perrors.WithStack(perrors.New("zk client already been closed"))
} }
err = r.client.Create(root) err = r.client.Create(root)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment