From adb0c315178bc321340aa6c378e42e512d488ca5 Mon Sep 17 00:00:00 2001 From: Elizabeth Engelman <4752801+elizabethengelman@users.noreply.github.com> Date: Wed, 28 Feb 2024 16:33:19 -0500 Subject: [PATCH] Updates for windows clippy checks --- cmd/soroban-cli/src/commands/network/shared.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cmd/soroban-cli/src/commands/network/shared.rs b/cmd/soroban-cli/src/commands/network/shared.rs index 3fe11d97c7..8a11d96b25 100644 --- a/cmd/soroban-cli/src/commands/network/shared.rs +++ b/cmd/soroban-cli/src/commands/network/shared.rs @@ -2,6 +2,8 @@ use core::fmt; use bollard::{ClientVersion, Docker}; use clap::ValueEnum; +#[allow(unused_imports)] +// Need to add this for windows, since we are only using this crate for the unix fn try_docker_desktop_socket use home::home_dir; pub const DOCKER_HOST_HELP: &str = "Optional argument to override the default docker host. This is useful when you are using a non-standard docker host path for your Docker-compatible container runtime, e.g. Docker Desktop defaults to $HOME/.docker/run/docker.sock instead of /var/run/docker.sock"; @@ -101,7 +103,7 @@ pub async fn connect_to_docker(docker_host: &Option) -> Result