From a365b28ff2142fd610f17d69b85a97895173af08 Mon Sep 17 00:00:00 2001 From: Daniel Vigovszky Date: Wed, 6 Mar 2024 12:49:50 +0100 Subject: [PATCH] Fix error strings --- src/template.rs | 2 +- tests/context/golem_template_service.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/template.rs b/src/template.rs index 7e707ea..6ca42ea 100644 --- a/src/template.rs +++ b/src/template.rs @@ -126,7 +126,7 @@ impl TemplateHandler for TemplateHandlerLive match templates.first() { None => { let template_name = name.0; - Err(GolemError(format!("Can't find template ${template_name}"))) + Err(GolemError(format!("Can't find template {template_name}"))) } Some(template) => { let parsed = Uuid::parse_str(&template.template_id); diff --git a/tests/context/golem_template_service.rs b/tests/context/golem_template_service.rs index 9a7d301..cde3020 100644 --- a/tests/context/golem_template_service.rs +++ b/tests/context/golem_template_service.rs @@ -85,7 +85,7 @@ impl<'docker_client> GolemTemplateService<'docker_client> { match client.find(None).await { Ok(_) => break, Err(e) => { - println!("Cloud Service healthcheck failed: ${e:?}"); + println!("Cloud Service healthcheck failed: {e:?}"); tokio::time::sleep(Duration::from_secs(1)).await; } }