Remove extra logging in migrations (#5380)

Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
Andrey Sobolev 2024-04-17 13:29:57 +07:00 committed by GitHub
parent 0b3cd8162c
commit 577c948d29
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 0 additions and 4 deletions

View File

@ -57,10 +57,8 @@ async function migrateMarkup (client: MigrationClient): Promise<void> {
} }
) )
console.log('processing', activity.class.DocUpdateMessage)
try { try {
await processMigrateMarkupFor(client, iterator) await processMigrateMarkupFor(client, iterator)
console.log('processing finished', activity.class.DocUpdateMessage)
} finally { } finally {
await iterator.close() await iterator.close()
} }

View File

@ -41,11 +41,9 @@ async function migrateMarkup (client: MigrationClient): Promise<void> {
}) })
if (filtered.length === 0) continue if (filtered.length === 0) continue
console.log('processing', _class, filtered.length, 'attributes')
const iterator = await client.traverse(domain, { _class }) const iterator = await client.traverse(domain, { _class })
try { try {
await processMigrateMarkupFor(domain, filtered, client, iterator) await processMigrateMarkupFor(domain, filtered, client, iterator)
console.log('processing finished', _class)
} finally { } finally {
await iterator.close() await iterator.close()
} }