leno23 commented on PR #3420:
URL: https://github.com/apache/dubbo-go/pull/3420#issuecomment-4727318622

   Addressed the affinity static wrapper feedback in f04bb52.
   
   What changed:
   - `ServiceAffinityRoute.SetStaticConfig` and 
`ApplicationAffinityRoute.SetStaticConfig` now return early when the static 
config is same-scope but has an empty `AffinityAware.Key`, matching the 
condition/tag wrapper behavior.
   - Added regression coverage to ensure such empty affinity configs do not 
clear an already-applied static affinity rule.
   
   Validation:
   - `go test ./cluster/router/affinity` passed.
   - `gofmt` and `git diff --check` passed.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to