Skip to content

Commit

Permalink
Merge pull request #873 from baude/httpv1
Browse files Browse the repository at this point in the history
Use tonic::transport::Uri instead of HTTP
  • Loading branch information
openshift-merge-bot[bot] authored Dec 15, 2023
2 parents 1a71d2e + a6afa03 commit fd14b24
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion Cargo.lock

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

1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ futures-channel="0.3.29"
futures-core = "0.3.29"
futures-util = "0.3.29"
nispor = "1.2.15"
http = "0.2.11"
tower = { version = "0.4" }

[build-dependencies]
Expand Down
3 changes: 1 addition & 2 deletions src/dhcp_proxy/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,13 @@ use std::convert::TryFrom;
use std::error::Error;

use g_rpc::netavark_proxy_client::NetavarkProxyClient;
use http::Uri;
use log::debug;
use std::fs::File;
use std::net::AddrParseError;
use std::net::{Ipv4Addr, Ipv6Addr};
use std::str::FromStr;
use tokio::net::UnixStream;
use tonic::transport::{Channel, Endpoint};
use tonic::transport::{Channel, Endpoint, Uri};
use tonic::Request;
use tower::service_fn;

Expand Down

0 comments on commit fd14b24

Please sign in to comment.