Compare commits

..

No commits in common. "1ab66af718c0fa836ef25828a7852353beaaaf4b" and "d95e84d6fc543ff0121cc53be9a1697de9269cf9" have entirely different histories.

View File

@ -10,8 +10,9 @@ use crate::{
executors::ExecutorError, executors::ExecutorError,
interpret::{InterpretError, Outcome}, interpret::{InterpretError, Outcome},
inventory::Inventory, inventory::Inventory,
maestro::Maestro,
modules::k3d::K3DInstallationScore, modules::k3d::K3DInstallationScore,
score::Score, topology::LocalhostTopology,
}; };
use super::{ use super::{
@ -113,10 +114,9 @@ impl K8sAnywhereTopology {
} }
async fn try_install_k3d(&self) -> Result<(), InterpretError> { async fn try_install_k3d(&self) -> Result<(), InterpretError> {
self.get_k3d_installation_score() let maestro = Maestro::initialize(Inventory::autoload(), LocalhostTopology::new()).await?;
.create_interpret() let k3d_score = self.get_k3d_installation_score();
.execute(&Inventory::empty(), self) maestro.interpret(Box::new(k3d_score)).await?;
.await?;
Ok(()) Ok(())
} }