fix: Initialize K3DInstallationScore correctly
This commit is contained in:
parent
2229e9d7af
commit
83ba0e1044
@ -41,8 +41,8 @@ impl K8sAnywhereTopology {
|
||||
|
||||
async fn try_install_k3d(&self) -> Result<K8sClient, InterpretError> {
|
||||
let maestro = Maestro::new(Inventory::autoload(), LocalhostTopology::new());
|
||||
let k3d_score = K3DInstallationScore::default();
|
||||
maestro.interpret(Box::new(k3d_score)).await;
|
||||
let k3d_score = K3DInstallationScore::new();
|
||||
maestro.interpret(Box::new(k3d_score)).await?;
|
||||
todo!(
|
||||
"Create Maestro with LocalDockerTopology or something along these lines and run a K3dInstallationScore on it"
|
||||
);
|
||||
|
||||
@ -5,6 +5,12 @@ use crate::{score::Score, topology::Topology};
|
||||
#[derive(Debug, Clone, Serialize)]
|
||||
pub struct K3DInstallationScore {}
|
||||
|
||||
impl K3DInstallationScore {
|
||||
pub fn new() -> Self {
|
||||
Self {}
|
||||
}
|
||||
}
|
||||
|
||||
impl<T: Topology> Score<T> for K3DInstallationScore {
|
||||
fn create_interpret(&self) -> Box<dyn crate::interpret::Interpret<T>> {
|
||||
todo!("
|
||||
|
||||
Loading…
Reference in New Issue
Block a user