You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by "keon94 (via GitHub)" <gi...@apache.org> on 2023/04/01 08:12:33 UTC
[GitHub] [incubator-devlake] keon94 commented on a diff in pull request #4839: CI/Tests: Optimize GitHub workflows tests performance
keon94 commented on code in PR #4839:
URL: https://github.com/apache/incubator-devlake/pull/4839#discussion_r1155076209
##########
backend/core/migration/migrator.go:
##########
@@ -84,10 +89,9 @@ func (m *migratorImpl) Execute() errors.Error {
})
// execute them one by one
db := m.basicRes.GetDal()
- logger := m.basicRes.GetLogger().Nested("migrator")
for _, swc := range m.pending {
- scriptId := fmt.Sprintf("%d-%s", swc.script.Version(), swc.script.Name())
Review Comment:
this cache key (%d-%s) was inconsistent with the key format used in the rest of the code (%s:%d). This is a bug, right? @klesh
--
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