Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikBjare authored Nov 13, 2023
1 parent efea007 commit 1c9977c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion aw-client-rust/tests/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ mod test {
#[test]
fn test_full() {
let clientname = "aw-client-rust-test";
let url = reqwest::Url::parse(format!("https://127.0.0.1:{}", PORT).as_str()).unwrap();
let url = reqwest::Url::parse(format!("http://127.0.0.1:{}", PORT).as_str()).unwrap();
let client: AwClient = AwClient::new(url, clientname, gethostname::gethostname().to_str().unwrap().to_string());

let shutdown_handler = setup_testserver();
Expand Down
2 changes: 1 addition & 1 deletion aw-sync/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ fn main() -> Result<(), Box<dyn Error>> {
.map(|a| Ok(a))
.unwrap_or_else(||util::get_server_port(opts.testing))?;

let baseurl = reqwest::Url::parse(&format!("https://{}:{}", opts.host, port))?;
let baseurl = reqwest::Url::parse(&format!("http://{}:{}", opts.host, port))?;

let hostname = util::get_hostname()?;

Expand Down

0 comments on commit 1c9977c

Please sign in to comment.