Skip to content

Commit

Permalink
Fix aptos-admin-service build on Windows (#10669)
Browse files Browse the repository at this point in the history
  • Loading branch information
banool authored Oct 25, 2023
1 parent 940f98a commit 16bc730
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions crates/aptos-admin-service/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,16 @@ rust-version = { workspace = true }
anyhow = { workspace = true }
aptos-config = { workspace = true }
aptos-logger = { workspace = true }
aptos-profiler = { workspace = true }
aptos-runtimes = { workspace = true }
async-mutex = { workspace = true }
futures = { workspace = true }
http = { workspace = true }
hyper = { workspace = true }
lazy_static = { workspace = true }
mime = { workspace = true }
pprof = { workspace = true }
tokio = { workspace = true }
url = { workspace = true }

[target.'cfg(unix)'.dependencies]
aptos-profiler = { workspace = true }
pprof = { workspace = true }
4 changes: 3 additions & 1 deletion crates/aptos/src/node/local_testnet/docker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@
use super::traits::ShutdownStep;
use anyhow::{Context, Result};
use async_trait::async_trait;
#[cfg(unix)]
use bollard::API_DEFAULT_VERSION;
use bollard::{
container::{RemoveContainerOptions, StopContainerOptions},
image::CreateImageOptions,
volume::{CreateVolumeOptions, RemoveVolumeOptions},
Docker, API_DEFAULT_VERSION,
Docker,
};
use futures::TryStreamExt;
use std::{fs::create_dir_all, path::Path};
Expand Down

0 comments on commit 16bc730

Please sign in to comment.