Răsfoiți Sursa

refactor: replace wildcard imports with explicit imports (docker/mod.rs)

Per Rust API guidelines C-IMPORT, explicit imports make it clear
what's actually used from each module.
Alexander Korolev 4 luni în urmă
părinte
comite
cd8d9d66d5
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 2
      src/docker/mod.rs

+ 2 - 2
src/docker/mod.rs

@@ -2,9 +2,9 @@ use anyhow::{Context, Result};
 use tokio::time::{Duration, sleep};
 use tracing::info;
 
-use crate::config::*;
+use crate::config::{Cluster, Config, NcclConfig, Node, Recipe, load_recipe, resolve_cluster};
 use crate::doctor::try_repaired_image;
-use crate::ssh::*;
+use crate::ssh::{run_ssh, run_ssh_follow, run_ssh_with_retry};
 /// Launches containers across the cluster for a recipe.
 pub async fn serve(
     config: &Config,