feat: Pass configuration when initializing K8sAnywhereTopology
All checks were successful
Run Check Script / check (push) Successful in 1m47s
Run Check Script / check (pull_request) Successful in 1m47s

This commit is contained in:
2025-06-10 08:37:41 -04:00
parent 415488ba39
commit a8eb06f686
3 changed files with 41 additions and 23 deletions

View File

@@ -38,7 +38,7 @@ async fn main() {
// that automatically adapt to each environment grade.
let mut maestro = Maestro::<K8sAnywhereTopology>::initialize(
Inventory::autoload(),
K8sAnywhereTopology::new(),
K8sAnywhereTopology::from_env(),
)
.await
.unwrap();

View File

@@ -18,7 +18,7 @@ async fn main() {
let mut maestro = Maestro::<K8sAnywhereTopology>::initialize(
Inventory::autoload(),
K8sAnywhereTopology::new(),
K8sAnywhereTopology::from_env(),
)
.await
.unwrap();