Skip to content

Commit

Permalink
fix: fix nil ptr bug
Browse files Browse the repository at this point in the history
  • Loading branch information
LaurenceLiZhixin committed May 8, 2021
1 parent 940194d commit c603af6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cluster/router/v3router/judger/attachment_match_judger.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ func (amj *AttachmentMatchJudger) Judge(invocation protocol.Invocation) bool {
if v.Empty == "" {
return false
}
continue
}
// exist this key
str, ok := invAttaValue.(string)
Expand All @@ -56,6 +57,7 @@ func (amj *AttachmentMatchJudger) Judge(invocation protocol.Invocation) bool {
if v.Empty == "" {
return false
}
continue
}
// exist this key
str, ok := invAttaValue.(string)
Expand Down

0 comments on commit c603af6

Please sign in to comment.