warren830 commented on code in PR #3349:
URL: https://github.com/apache/incubator-devlake/pull/3349#discussion_r990782866
##########
plugins/helper/api_extractor.go:
##########
@@ -117,7 +117,7 @@ func (extractor *ApiExtractor) Execute() errors.Error {
}
// set raw data origin field
origin :=
reflect.ValueOf(result).Elem().FieldByName(RAW_DATA_ORIGIN)
- if origin.IsValid() {
+ if origin.IsValid() && origin.IsZero() {
Review Comment:
If we already have value for RAW_DATA_ORIGIN, we dont need to set it again
--
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]