From 54c93d608cec9e7882ccee3b6fe47e418d8f3642 Mon Sep 17 00:00:00 2001 From: wayblink Date: Thu, 12 Sep 2024 14:59:11 +0800 Subject: [PATCH] small fix Signed-off-by: wayblink --- core/backup_impl_restore_backup.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/backup_impl_restore_backup.go b/core/backup_impl_restore_backup.go index 222b6f6..b9e54a1 100644 --- a/core/backup_impl_restore_backup.go +++ b/core/backup_impl_restore_backup.go @@ -397,8 +397,8 @@ func (b *BackupContext) executeRestoreCollectionTask(ctx context.Context, backup targetCollectionName := task.GetTargetCollectionName() task.StateCode = backuppb.RestoreTaskStateCode_EXECUTING log := log.With( - zap.String("backup_db_name", task.GetCollBackup().DbName), - zap.String("backup_collection_name", task.GetCollBackup().DbName), + zap.String("backup_db_name", task.GetCollBackup().GetDbName()), + zap.String("backup_collection_name", task.GetCollBackup().GetCollectionName()), zap.String("target_db_name", targetDBName), zap.String("target_collection_name", targetCollectionName), zap.Bool("skipDiskQuotaCheck", task.GetSkipDiskQuotaCheck()))