From 50a7b27fe5a71d6d37680f73a4b7817667a40542 Mon Sep 17 00:00:00 2001 From: Jeremy Lardenois Date: Mon, 24 Apr 2023 17:09:41 +0200 Subject: [PATCH] fix: make the riklet ok when a pod instance is created --- riklet/src/runtime/network/pod_network.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/riklet/src/runtime/network/pod_network.rs b/riklet/src/runtime/network/pod_network.rs index 4fb9663c..cf9346a0 100644 --- a/riklet/src/runtime/network/pod_network.rs +++ b/riklet/src/runtime/network/pod_network.rs @@ -1,3 +1,4 @@ +use anyhow::Ok; use async_trait::async_trait; use std::fmt::Debug; @@ -15,10 +16,12 @@ impl PodRuntimeNetwork { #[async_trait] impl RuntimeNetwork for PodRuntimeNetwork { async fn init(&mut self) -> Result<()> { - todo!() + // todo!() + Result::Ok(()) } async fn destroy(&self) -> Result<()> { - todo!() + // todo!() + Result::Ok(()) } }