Skip to content

Commit 0b97d79

Browse files
committed
style: fix rustfmt import ordering and line wrapping
Signed-off-by: Serge Panev <spanev@nvidia.com>
1 parent 399ac95 commit 0b97d79

File tree

3 files changed

+9
-12
lines changed

3 files changed

+9
-12
lines changed

crates/openshell-bootstrap/src/lib.rs

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,10 @@ pub use crate::docker::{
4848
DockerPreflight, ExistingGatewayInfo, check_docker_available, create_ssh_docker_client,
4949
};
5050
pub use crate::metadata::{
51-
GatewayMetadata, clear_active_gateway, extract_host_from_ssh_destination, get_gateway_metadata,
52-
clear_last_sandbox_if_matches, list_gateways, load_active_gateway, load_gateway_metadata,
53-
load_last_sandbox, remove_gateway_metadata, resolve_ssh_hostname, save_active_gateway,
54-
save_last_sandbox,
55-
store_gateway_metadata,
51+
GatewayMetadata, clear_active_gateway, clear_last_sandbox_if_matches,
52+
extract_host_from_ssh_destination, get_gateway_metadata, list_gateways, load_active_gateway,
53+
load_gateway_metadata, load_last_sandbox, remove_gateway_metadata, resolve_ssh_hostname,
54+
save_active_gateway, save_last_sandbox, store_gateway_metadata,
5655
};
5756

5857
/// Options for remote SSH deployment.

crates/openshell-cli/src/main.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2058,8 +2058,7 @@ async fn main() -> Result<()> {
20582058
run::sandbox_list(endpoint, limit, offset, ids, names, &tls).await?;
20592059
}
20602060
SandboxCommands::Delete { names, all } => {
2061-
run::sandbox_delete(endpoint, &names, all, &tls, &ctx.name)
2062-
.await?;
2061+
run::sandbox_delete(endpoint, &names, all, &tls, &ctx.name).await?;
20632062
}
20642063
SandboxCommands::Connect { name, editor } => {
20652064
let name = resolve_sandbox_name(name, &ctx.name)?;

crates/openshell-cli/src/run.rs

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,10 @@ use hyper_util::{client::legacy::Client, rt::TokioExecutor};
1616
use indicatif::{MultiProgress, ProgressBar, ProgressStyle};
1717
use miette::{IntoDiagnostic, Result, WrapErr};
1818
use openshell_bootstrap::{
19-
DeployOptions, GatewayMetadata, RemoteOptions, clear_active_gateway, container_name,
20-
extract_host_from_ssh_destination, get_gateway_metadata, list_gateways, load_active_gateway,
21-
clear_last_sandbox_if_matches, remove_gateway_metadata, resolve_ssh_hostname,
22-
save_active_gateway, save_last_sandbox,
23-
store_gateway_metadata,
19+
DeployOptions, GatewayMetadata, RemoteOptions, clear_active_gateway,
20+
clear_last_sandbox_if_matches, container_name, extract_host_from_ssh_destination,
21+
get_gateway_metadata, list_gateways, load_active_gateway, remove_gateway_metadata,
22+
resolve_ssh_hostname, save_active_gateway, save_last_sandbox, store_gateway_metadata,
2423
};
2524
use openshell_core::proto::{
2625
ApproveAllDraftChunksRequest, ApproveDraftChunkRequest, ClearDraftChunksRequest,

0 commit comments

Comments
 (0)