Skip to content
Snippets Groups Projects
Unverified Commit 9be9fef5 authored by Xin.Zh's avatar Xin.Zh Committed by GitHub
Browse files

Merge pull request #945 from fangyincheng/fix-object

fix bug
parents a347a049 c57982a3
No related branches found
No related tags found
No related merge requests found
......@@ -15,6 +15,7 @@ install: true
# define ci-stage
script:
- go fmt ./... && [[ -z `git status -s` ]]
# license-check
- make verify
# integrate-test
......
......@@ -96,7 +96,6 @@ func (c *DefaultHealthChecker) getCircuitBreakerSleepWindowTime(status *protocol
return int64(sleepWindow)
}
// GetRequestSuccessiveFailureThreshold return the requestSuccessiveFailureThreshold bound to this DefaultHealthChecker
func (c *DefaultHealthChecker) GetRequestSuccessiveFailureThreshold() int32 {
return c.requestSuccessiveFailureThreshold
......
......@@ -37,8 +37,6 @@ import (
"github.com/apache/dubbo-go/common/logger"
)
type Object interface{}
type HessianSerializer struct {
}
......@@ -474,7 +472,7 @@ func getArgType(v interface{}) string {
return "java.lang.String"
case []string:
return "[Ljava.lang.String;"
case []Object:
case []hessian.Object:
return "[Ljava.lang.Object;"
case map[interface{}]interface{}:
// return "java.util.HashMap"
......
......@@ -212,7 +212,7 @@ func (r *zkRegistry) registerTempZookeeperNode(root string, node string) error {
r.cltLock.Lock()
defer r.cltLock.Unlock()
if r.client == nil{
if r.client == nil {
return perrors.WithStack(perrors.New("zk client already been closed"))
}
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