diff --git a/docs/src/examples/workloads/workload-1.json b/docs/src/examples/workloads/workload-1.json index 956a73bb..c14bb224 100644 --- a/docs/src/examples/workloads/workload-1.json +++ b/docs/src/examples/workloads/workload-1.json @@ -1,5 +1,5 @@ { - "api_version": "v0", + "apiVersion": "v1", "kind": "Pod", "name": "alpine", "replicas": 1, diff --git a/docs/src/examples/workloads/workload-2.json b/docs/src/examples/workloads/workload-2.json index d711f38d..d24e20e5 100644 --- a/docs/src/examples/workloads/workload-2.json +++ b/docs/src/examples/workloads/workload-2.json @@ -1,5 +1,5 @@ { - "api_version": "v0", + "apiVersion": "v1", "kind": "Pod", "name": "2-distro", "replicas": 1, diff --git a/docs/src/examples/workloads/workload-3.json b/docs/src/examples/workloads/workload-3.json index 0432a289..32d9a283 100644 --- a/docs/src/examples/workloads/workload-3.json +++ b/docs/src/examples/workloads/workload-3.json @@ -1,5 +1,5 @@ { - "api_version": "v0", + "apiVersion": "v1", "kind": "Pod", "name": "replicated", "replicas": 3, 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(()) } }