Skip to content

Commit

Permalink
Merge pull request #556 from cloudwego/release/v0.3.4
Browse files Browse the repository at this point in the history
chore: release v0.3.4
  • Loading branch information
joway authored Jul 15, 2022
2 parents 7993364 + 7169467 commit c8b4cd7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
8 changes: 3 additions & 5 deletions pkg/rpcinfo/remoteinfo/remoteInfo.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,12 +111,10 @@ func (ri *remoteInfo) Tag(key string) (value string, exist bool) {
ri.RLock()
defer ri.RUnlock()

if ri.instance != nil {
if value, exist = ri.instance.Tag(key); exist {
return
}
}
value, exist = ri.tags[key]
if !exist && ri.instance != nil {
value, exist = ri.instance.Tag(key)
}
return
}

Expand Down
2 changes: 1 addition & 1 deletion version.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ package kitex
// Name and Version info of this framework, used for statistics and debug
const (
Name = "Kitex"
Version = "v0.3.3"
Version = "v0.3.4"
)

0 comments on commit c8b4cd7

Please sign in to comment.