yeyiwei commented on a change in pull request #824:
URL:
https://github.com/apache/servicecomb-service-center/pull/824#discussion_r555546376
##########
File path: datasource/etcd/event/tag_event_handler.go
##########
@@ -60,13 +62,13 @@ func (apt *TagsChangedTask) publish(ctx context.Context,
domainProject, consumer
ctx = util.WithGlobal(util.WithCacheOnly(ctx))
consumer, err := serviceUtil.GetService(ctx, domainProject, consumerID)
- if err != nil {
- log.Errorf(err, "get consumer[%s] for publish event failed",
consumerID)
+ if errors.Is(err, datasource.ErrNoDocuments) {
Review comment:
已修改
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]