CamilleTeruel commented on code in PR #5470:
URL:
https://github.com/apache/incubator-devlake/pull/5470#discussion_r1230646088
##########
backend/server/services/remote/plugin/plugin_impl.go:
##########
@@ -176,8 +177,10 @@ func (p *remotePluginImpl) getScopeAndConfig(db dal.Dal,
connectionId uint64, sc
if err != nil {
return nil, nil, err
}
+ return wrappedScope.Unwrap(), wrappedScopeConfig.Unwrap(), nil
+ } else {
+ return wrappedScope.Unwrap(), nil, nil
Review Comment:
> Was `wrappedScopeConfig.Unwrap()` not just resolving to nil here?
No this resolves to a zeroed scope config.
--
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]