Skip to content
Snippets Groups Projects
Commit 872b4eb9 authored by cvictory's avatar cvictory
Browse files

optimize get url with pointer type

parent 526f3fe1
No related branches found
No related tags found
No related merge requests found
......@@ -287,9 +287,9 @@ func isInvokersChanged(left []protocol.Invoker, right []protocol.Invoker) bool {
for _, r := range right {
found := false
rurl := r.GetUrl()
for _, l := range left {
lurl := l.GetUrl()
rurl := r.GetUrl()
if common.GetURLTool().CompareURLEqual(&lurl, &rurl, constant.TIMESTAMP_KEY, constant.REMOTE_TIMESTAMP_KEY) {
found = true
break
......
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