Skip to content

Commit

Permalink
change http -> https for valgrind
Browse files Browse the repository at this point in the history
  • Loading branch information
dkijania committed May 20, 2022
1 parent 914c021 commit 8065454
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
6 changes: 3 additions & 3 deletions valgrind/src/client/mod.rs
Expand Up @@ -58,16 +58,16 @@ impl ValgrindClient {
add_api_segment_if_not_exists(&mut proxy_address);
add_api_segment_if_not_exists(&mut node_address);

let mut backend = Self {
let mut client = Self {
node_client: WalletNodeRestClient::new(node_address, node_rest_settings.clone()),
vit_client: VitRestClient::new(vit_address),
proxy_client: ProxyClient::new(proxy_address.to_string()),
};

if node_rest_settings.enable_debug {
backend.enable_logs();
client.enable_logs();
}
backend
client
}

pub fn new(address: String, settings: ValgrindSettings) -> Result<Self, Error> {
Expand Down
Expand Up @@ -28,7 +28,7 @@ impl WalletProxySettings {
}

pub fn address(&self) -> String {
format!("http://{}", self.base_address())
format!("https://{}", self.base_address())
}

pub fn vit_address(&self) -> String {
Expand Down
1 change: 0 additions & 1 deletion vitup/src/testing.rs
Expand Up @@ -62,7 +62,6 @@ pub fn vitup_setup(
config.service.version.clone(),
testing_directory,
);

Ok((controller, vit_parameters, network_spawn_params))
}

Expand Down

0 comments on commit 8065454

Please sign in to comment.