From 2121b4029373791e733b1e530e1010a0e30e1781 Mon Sep 17 00:00:00 2001 From: Abin Simon Date: Thu, 20 Apr 2023 02:42:53 +0530 Subject: [PATCH] Show name instead of id in onedrive backup progress (#3168) Fixes https://github.com/alcionai/corso/issues/3113 --- #### Does this PR need a docs update or release note? - [ ] :white_check_mark: Yes, it's included - [ ] :clock1: Yes, but in a later PR - [x] :no_entry: No #### Type of change - [ ] :sunflower: Feature - [x] :bug: Bugfix - [ ] :world_map: Documentation - [ ] :robot: Supportability/Tests - [ ] :computer: CI/Deployment - [ ] :broom: Tech Debt/Cleanup #### Issue(s) * https://github.com/alcionai/corso/issues/3113 #### Test Plan - [x] :muscle: Manual - [ ] :zap: Unit test - [ ] :green_heart: E2E --- src/internal/connector/onedrive/collection.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/internal/connector/onedrive/collection.go b/src/internal/connector/onedrive/collection.go index 1f9ce9c32..39624f3a6 100644 --- a/src/internal/connector/onedrive/collection.go +++ b/src/internal/connector/onedrive/collection.go @@ -565,7 +565,7 @@ func (oc *Collection) populateItems(ctx context.Context, errs *fault.Bus) { ctx, itemData, observe.ItemBackupMsg, - clues.Hide(itemID+dataSuffix), + clues.Hide(itemName+dataSuffix), itemSize) go closer() @@ -584,7 +584,7 @@ func (oc *Collection) populateItems(ctx context.Context, errs *fault.Bus) { ctx, itemMeta, observe.ItemBackupMsg, - clues.Hide(metaFileName+metaSuffix), + clues.Hide(itemName+metaSuffix), int64(itemMetaSize)) go closer() return progReader, nil