From cbaabb485522492742fcc9c43d842147437c8e3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= Date: Mon, 3 Jul 2023 08:53:45 +0200 Subject: [PATCH] encrypted backup: fix log message MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit the debug representation of a repository 'BackupRepository { auth_id: Some(Authid { user: Userid { data: "test@pbs", name_len: 4 }, tokenname: None }), host: Some("127.0.0.1"), port: None, store: "tank" }' is rather verbose and unreadable, use the plain one 'test@pbs@127.0.0.1:8007:tank' intead. Signed-off-by: Fabian Grünbichler --- proxmox-backup-client/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxmox-backup-client/src/main.rs b/proxmox-backup-client/src/main.rs index 95c8bae8..1a6114b1 100644 --- a/proxmox-backup-client/src/main.rs +++ b/proxmox-backup-client/src/main.rs @@ -1055,7 +1055,7 @@ async fn create_backup( if let Some(rsa_encrypted_key) = rsa_encrypted_key { let target = ENCRYPTED_KEY_BLOB_NAME; - log::info!("Upload RSA encoded key to '{:?}' as {}", repo, target); + log::info!("Upload RSA encoded key to '{}' as {}", repo, target); let options = UploadOptions { compress: false, encrypt: false,