Skip to content

Commit

Permalink
fix: clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
leon3s committed Jan 31, 2024
1 parent c27ea10 commit c1e75f4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/ncproxy/src/subsystem/init.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use std::sync::Arc;

use nanocl_error::io::IoResult;

use nanocld_client::{ConnectOpts, NanocldClient};
use nanocld_client::NanocldClient;

use crate::{
cli::Cli,
Expand All @@ -16,6 +16,7 @@ pub async fn init(cli: &Cli) -> IoResult<SystemStateRef> {
let mut client = NanocldClient::connect_with_unix_default();
#[cfg(any(feature = "dev", feature = "test"))]
{
use nanocld_client::ConnectOpts;
client = NanocldClient::connect_to(&ConnectOpts {
url: "http://nanocl.internal:8585".into(),
..Default::default()
Expand Down

0 comments on commit c1e75f4

Please sign in to comment.