chore: remove hardcoded ips for demo local deployment and work around logging issues with dynamic lib
All checks were successful
Run Check Script / check (pull_request) Successful in 1m8s

This commit is contained in:
Jean-Gabriel Gill-Couture 2025-08-14 15:00:58 -04:00
parent a9db13edeb
commit 92a4c324fa
2 changed files with 26 additions and 25 deletions

View File

@ -218,29 +218,29 @@ impl K8sTenantManager {
} }
] ]
}, },
{ // {
"to": [ // "to": [
{ // {
"ipBlock": { // "ipBlock": {
"cidr": "10.43.0.1/32", // "cidr": "10.43.0.1/32",
} // }
} // }
] // ]
}, // },
{ // {
"to": [ // "to": [
{ // {
//TODO this ip is from the docker network that k3d is running on // //TODO this ip is from the docker network that k3d is running on
//since k3d does not deploy kube-api-server as a pod it needs to ahve the ip // //since k3d does not deploy kube-api-server as a pod it needs to ahve the ip
//address opened up // //address opened up
//need to find a way to automatically detect the ip address from the docker // //need to find a way to automatically detect the ip address from the docker
//network // //network
"ipBlock": { // "ipBlock": {
"cidr": "172.18.0.0/16", // "cidr": "172.18.0.0/16",
} // }
} // }
] // ]
}, // },
{ {
"to": [ "to": [
{ {

View File

@ -132,8 +132,9 @@ async fn init<T: Topology + Send + Sync + 'static>(
// if list option is specified, print filtered list and exit // if list option is specified, print filtered list and exit
if args.list { if args.list {
println!("Available scores:"); let num_scores = scores_vec.len();
println!("{}", list_scores_with_index(&scores_vec)); println!("Available scores {num_scores}:");
println!("{}\n\n", list_scores_with_index(&scores_vec));
return Ok(()); return Ok(());
} }