Skip to content

Commit

Permalink
Merge pull request #983 from yakecanlee/feature/fix-client-timeout-er…
Browse files Browse the repository at this point in the history
…ror-message

Fix: change client error message of issue #972
  • Loading branch information
AlexStocks committed Jan 5, 2021
2 parents ded3c49 + 96a6c30 commit 838c847
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ install: true

# define ci-stage
script:
- go fmt ./... && [[ -z `git status -s` ]]
- go fmt ./... && git checkout -- go.mod && [[ -z `git status -s` ]]
# license-check
- make verify
# integrate-test
Expand Down
5 changes: 0 additions & 5 deletions registry/kubernetes/registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,6 @@ import (
"github.com/apache/dubbo-go/remoting/kubernetes"
)

//var (
// processID = ""
// localIP = ""
//)

const (
Name = "kubernetes"
ConnDelay = 3
Expand Down
2 changes: 1 addition & 1 deletion remoting/getty/getty_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ import (
var (
errSessionNotExist = perrors.New("session not exist")
errClientClosed = perrors.New("client closed")
errClientReadTimeout = perrors.New("client read timeout")
errClientReadTimeout = perrors.New("maybe the client read timeout or fail to decode tcp stream in Writer.Write")

clientConf *ClientConfig
clientGrpool gxsync.GenericTaskPool
Expand Down

0 comments on commit 838c847

Please sign in to comment.