From 675e8f421603460b7a5f5e5fe67035e829b34a4e Mon Sep 17 00:00:00 2001 From: Vaughn Dice Date: Thu, 10 Aug 2023 15:35:53 -0600 Subject: [PATCH] Print name and version instead of entire reference Signed-off-by: Vaughn Dice --- src/commands/deploy.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/commands/deploy.rs b/src/commands/deploy.rs index 31c257c..2efa1a5 100644 --- a/src/commands/deploy.rs +++ b/src/commands/deploy.rs @@ -508,7 +508,6 @@ impl DeployCommand { None => cloud_registry_url.domain().unwrap().to_owned() + "/" + &application.info.name, }; - println!("Uploading {} to Fermyon Cloud...", reference); let oci_ref = Reference::try_from(reference.as_ref()) .expect(&format!("Could not parse reference '{reference}'")); @@ -520,6 +519,11 @@ impl DeployCommand { }), ); + println!( + "Uploading {} version {} to Fermyon Cloud...", + &oci_ref.repository(), + &oci_ref.tag().unwrap_or(&application.info.version) + ); let digest = client.push(&application, reference).await?; Ok(digest)