Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Fix error strings #79

Merged
merged 1 commit into from
Mar 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/template.rs
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ impl<C: TemplateClient + Send + Sync> TemplateHandler for TemplateHandlerLive<C>
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}")))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

}
Some(template) => {
let parsed = Uuid::parse_str(&template.template_id);
Expand Down
2 changes: 1 addition & 1 deletion tests/context/golem_template_service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down
Loading