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

Commit

Permalink
Fix error strings
Browse files Browse the repository at this point in the history
  • Loading branch information
vigoo committed Mar 6, 2024
1 parent c8641de commit a365b28
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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}")))
}
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

0 comments on commit a365b28

Please sign in to comment.