chore(deps): Upgrade all deps
Committed / committed (pull_request) Successful in 1m4s
CI / cargo shear (pull_request) Successful in 4m19s
CI / prek (pull_request) Successful in 19m18s
CI / cargo shear (push) Successful in 7m46s
Audit / cargo audit (push) Failing after 12m52s
Release-plz / Release-plz Release (push) Failing after 3m22s
Release-plz / Release-plz PR (push) Failing after 14m19s
CI / prek (push) Successful in 32m52s

This commit was merged in pull request #31.
This commit is contained in:
2026-10-21 07:30:51 +02:00
parent c183f1a5f1
commit 8e9c461a45
7 changed files with 258 additions and 468 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
use crete::cluster::Cluster;
use crete::environment::configure_environment;
use ipxe::IPXE_DIR;
use minijinja::{Environment, context};
use minijinja::{Environment, context, value};
use regex::regex;
pub async fn get_file(
@@ -26,7 +26,7 @@ pub async fn get_file(
let clusters = Cluster::get_all().await;
let content = template
.render(context! {
clusters => clusters.values().collect::<Vec<_>>(),
clusters => value::Serde(clusters.values().collect::<Vec<_>>()),
httpUrl => http_url.to_string()
})
.unwrap();