client: log index.json upload only when verbose

I mean the user expects that we know what archives, fidx or didx, are
in a backup, so this is internal info and should not be logged by
default

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2020-07-23 10:04:36 +02:00
parent 5b32820e93
commit 9688f6de0f

View File

@ -1137,7 +1137,7 @@ async fn create_backup(
.map_err(|err| format_err!("unable to format manifest - {}", err))?;
println!("Upload index.json to '{}'", repo);
if verbose { println!("Upload index.json to '{}'", repo) };
client
.upload_blob_from_data(manifest.into_bytes(), MANIFEST_BLOB_NAME, true, false)
.await?;