Alanxtl commented on code in PR #3725:
URL: https://github.com/apache/dubbo-go/pull/3725#discussion_r3998432924
##########
config_center/nacos/listener.go:
##########
@@ -81,9 +81,13 @@ func (s *keyListenerSet) snapshot()
[]config_center.ConfigurationListener {
}
func callback(set *keyListenerSet, _, group, dataId, data string) {
+ eventType := remoting.EventTypeUpdate
+ if data == "" {
+ eventType = remoting.EventTypeDel
+ }
Review Comment:
这个data为空就视为del操作是nacos那边的规定吗 如果是的话把文档链接放到注释里面去
--
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]