Remove legacy

This commit is contained in:
Dominik Werder
2022-12-13 12:59:02 +01:00
parent dd8d85d5ef
commit 3016da236b
8 changed files with 19 additions and 150 deletions

View File

@@ -10,7 +10,7 @@ use netpod::{Cluster, NodeConfig, NodeConfigCached, ProxyConfig};
use tokio::task::JoinHandle;
pub fn spawn_test_hosts(cluster: Cluster) -> Vec<JoinHandle<Result<(), Error>>> {
let mut ret = vec![];
let mut ret = Vec::new();
for node in &cluster.nodes {
let node_config = NodeConfig {
cluster: cluster.clone(),