You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by GitBox <gi...@apache.org> on 2022/06/17 03:07:15 UTC

[GitHub] [incubator-devlake] klesh commented on a diff in pull request #2232: [refactor][jira] switch to dal

klesh commented on code in PR #2232:
URL: https://github.com/apache/incubator-devlake/pull/2232#discussion_r899675086


##########
plugins/jira/tasks/changelog_convertor.go:
##########
@@ -44,26 +45,28 @@ func ConvertChangelogs(taskCtx core.SubTaskContext) error {
 	connectionId := data.Connection.ID
 	boardId := data.Options.BoardId
 	logger := taskCtx.GetLogger()
-	db := taskCtx.GetDb()
+	db := taskCtx.GetDal()
 	logger.Info("covert changelog")
-	statusMap, err := GetStatusInfo(db)
+	statusMap, err := GetStatusInfo(taskCtx.GetDb())

Review Comment:
   I think this function must be updated to use Dal instead



-- 
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: commits-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org