Merge pull request #1254 from joelklabo/joel/fix-typo-migration-logging

Fix Typo in Migration Logging
This commit is contained in:
calle
2022-12-29 13:39:10 +01:00
committed by GitHub

View File

@@ -224,7 +224,7 @@ async def m007_set_invoice_expiries(db):
) )
).fetchall() ).fetchall()
if len(rows): if len(rows):
logger.info(f"Mirgraion: Checking expiry of {len(rows)} invoices") logger.info(f"Migration: Checking expiry of {len(rows)} invoices")
for i, ( for i, (
payment_request, payment_request,
checking_id, checking_id,
@@ -238,7 +238,7 @@ async def m007_set_invoice_expiries(db):
invoice.date + invoice.expiry invoice.date + invoice.expiry
) )
logger.info( logger.info(
f"Mirgraion: {i+1}/{len(rows)} setting expiry of invoice {invoice.payment_hash} to {expiration_date}" f"Migration: {i+1}/{len(rows)} setting expiry of invoice {invoice.payment_hash} to {expiration_date}"
) )
await db.execute( await db.execute(
""" """