From ab3011cab40ffa9520c2066f10313fb76754be40 Mon Sep 17 00:00:00 2001 From: ashmrtn Date: Tue, 11 Apr 2023 17:05:39 -0700 Subject: [PATCH] Log resource owner name, not full selector during backup (#3098) #### 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) * closes #3096 #### Test Plan - [x] :muscle: Manual - [ ] :zap: Unit test - [ ] :green_heart: E2E --- src/internal/operations/backup.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/internal/operations/backup.go b/src/internal/operations/backup.go index 7afa0f7fa..0f34a137e 100644 --- a/src/internal/operations/backup.go +++ b/src/internal/operations/backup.go @@ -145,7 +145,7 @@ func (op *BackupOperation) Run(ctx context.Context) (err error) { ctx = clues.Add( ctx, "tenant_id", clues.Hide(op.account.ID()), - "resource_owner", clues.Hide(op.ResourceOwner), + "resource_owner", clues.Hide(op.ResourceOwner.Name()), "backup_id", op.Results.BackupID, "service", op.Selectors.Service, "incremental", op.incremental)